08.01.2017, 07:26
Код:
//delete these lines from your script new Float:X, Float:Y, Float:Z; // and put these once at the top of your script new Float:X[MAX_PLAYERS]; new Float:Y[MAX_PLAYERS]; new Float:Z[MAX_PLAYERS]; //because the variables you created gets updated every time a player join event but the three lines i asked you to put at the top of your script are global variables they are created for all players because i added the "[MAX_PLAYERS]" //and replace all the GetPlayerPos(playerid, Float:X, Float:Y, Float:Z); //to GetPlayerPos(playerid, X[playerid], Y[playerid], Z[playerid]);