Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnPlayerUpdate(playerid)
- {
- new Float:xp, Float:yp, Float:zp;
- GetPlayerPos(playerid, xp, yp, zp);
- if(IsPlayerInRangeOfPoint(playerid, 100, 1711.0494,-2494.4407,13.4710) && IsPlayerNPC(playerid) && PilotNPCAntiSpam == 0)
- {
- SendClientMessageToAll(COLOR_WHITE, "[BlueAirlanes]:Avionul cu numarul de zbor 563 a ajuns in Aeroportul LS.");
- }
- else if(IsPlayerInRangeOfPoint(playerid, 100, 1475.0529,1693.3607,10.7284 && IsPlayerNPC(playerid) && PilotNPCAntiSpam == 0)) //Incercam ceva cu variabila asta :)
- {
- SendClientMessageToAll(COLOR_WHITE, "[BlueAirlanes]:Avionul cu numarul de zbor 563 a ajuns in Aeroportul SF.");
- PilotNPCAntiSpam = 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement