All pastes #744083 Raw Edit

pyrokid

public text v1 · immutable
·published 2007-10-21 01:45 UTC
rendered paste body
public CheckArea()
{
    print("timer called");
    for(new z=0; z<MAX_PLAYERS; z++)
    {
        printf("looping: %d", z);
        if(!IsPlayerInArea(z,-821.1742,-758.7316,2421.5913,2429.6448))
        {
            print("AREA CHECK SUCCESS");
            if(GetPlayerWeapon(z) == 38)
            {
                 print("WEAPON CHECK SUCCESS");
                 SetPlayerHealth(z, 0);
            }
        }
   }
   print("timer finished");
   return 1;
}