Advertisement
Guest User

Untitled

a guest
Nov 28th, 2015
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. new vehid = GetPlayerVehicleID(playerid);
  2. for(new i;i<MAX_PLAYERS;i++)
  3. {
  4. if(!IsPlayerConnected(i))continue;
  5. if(!IsPlayerInAnyVehicle(i))continue;
  6. for(new a; a < sizeof(EnergiaInfo); a++)
  7. {
  8. for(new a; a < sizeof(EnergiaInfo); a++)
  9. {
  10. if(!IsPlayerInRangeOfPoint(playerid, 10.0, EnergiaInfo[a][0],EnergiaInfo[a][1],EnergiaInfo[a][2]))
  11. return SendClientMessage(playerid,Szary,"# Nie jestes na stacji!");
  12. }
  13. }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement