Сообщение от
Stexit
А это что? C:\Users\1\Desktop\MRP\gamemodes\samp-mr.pwn(55524) : error 017: undefined symbol "Recon_PosX"
В начало мода.
PHP код:
new Float:Recon_PosX, Float:Recon_PosY, Float:Recon_PosZ;
Но я бы поступил так:
PHP код:
new Float:_r_pos_x[MAX_PLAYERS], Float:_r_pos_y[MAX_PLAYERS], Float:_r_pos_z[MAX_PLAYERS], _r_int[MAX_PLAYERS], _r_vw[MAX_PLAYERS char];
Далее
PHP код:
GetPlayerPos(playerid, _r_pos_x[playerid], _r_pos_y[playerid], _r_pos_z[playerid]);
_r_int[playerid] = GetPlayerInterior(playerid);
_r_vw{playerid} = GetPlayerVirtualWorld(playerid);
И далее после /reoff
PHP код:
SetPlayerPos(playerid, _r_pos_x[playerid], _r_pos_y[playerid], _r_pos_z[playerid]);
SetPlayerVirtualWorld(playerid, _r_vw{playerid});
SetPlayerInterior(playerid, _r_int[playerid]);