14.10.2011, 01:17
ou entгo, para admins logado na RCON use:
Код:
if(strcmp(cmd, "/virar", true) == 0) { if(IsPlayerAdmin(playerid)) { new Float:X, Float:Y, Float:Z; if(logado[playerid] == 1) { if(IsPlayerInAnyVehicle(playerid)) { SetCameraBehindPlayer(playerid); GetPlayerPos(playerid, X, Y, Z); SetVehiclePos(GetPlayerVehicleID(playerid), X, Y, Z); SetVehicleZAngle(GetPlayerVehicleID(playerid), 0); } } } return 1; }