17.08.2011, 00:15
Quote:
Код:
if (strcmp("/spawn", cmdtext, true, 10) == 0) { if(IsPlayerInAnyVehicle(playerid)) { new Float:X; new Float:Y; new Float:Z; new VehicleID; GetPlayerPos(playerid, X, Y, Z); VehicleID = GetPlayerVehicleID(playerid); SetVehiclePos(VehicleID, -50.0743,-274.4324,5.4297); } else { new Float:X; new Float:Y; new Float:Z; GetPlayerPos(playerid, X, Y, Z); SetPlayerPos(playerid, -50.0743,-274.4324,5.4297); } return 1; } |