06.07.2015, 16:43
(
Последний раз редактировалось Sc0pion; 11.07.2015 в 06:21.
)
Fixed!
for(new i = 0; i < MAX_PLAYERS; i++) { if(GetPlayerVirtualWorld(i)== 9999) { SetPlayerPos(i, x, y, z); return 1; } } |
if(GetPlayerVirtualWorld(playerid)== 9999) { SetPlayerPos(playerid, x, y, z); return 1; } |
for(new i = 0; i < MAX_PLAYERS; i++)
if(IsPlayerConnected(i) && GetPlayerVirtualWorld(i) == 9999)
SetPlayerHealth(i, 100.0);
for(new i = 0; i < MAX_PLAYERS; i++)
if(IsPlayerConnected(i) && GetPlayerVirtualWorld(i) == 9999)
SetPlayerPos(i, x, y, z);
for(new i = 0; i < MAX_PLAYERS; i++)
if(IsPlayerConnected(i) && GetPlayerVirtualWorld(i) == 9999)
GivePlayerWeapon(i, weapon, ammo);