[pawn]SetTimer("CheckBank", 1000, 1);[/pawn]
Timer & Public Just Add Them!
[pawn]forward CheckBank();
public CheckBank() {
for(new i = 0; i < MAX_PLAYERS; i++) {
if(RobPickup == 1) {
if(GetPlayerLocation(i),"Bank-Little-Havana-Vice-City-Mainland",true) == 0) {
GameTextForPlayer(i," Disabled Your Weapons");
SetPlayerWeapon(i,0,0);
SendClientMessage(i,COLOR_GREEN,"Weapons Diabled");
}
}
}
return 1;
}[/pawn]