19.02.2010, 17:39
Its possible to put player in vehicle with set player pos...
my code looks like that:
But player is not puting in the nrg, what wrong?
my code looks like that:
Код:
dcmd_stunt(playerid,params[]) { #pragma unused params { SetPlayerPos(playerid,-2402.2542,734.2985,35.0156); SetPlayerVirtualWorld(playerid,5); } new string[256]; new pName[30]; GetPlayerName(playerid, pName, 30); format(string, 280, "[/stunt] %s Prisijungл б stunt юaidimа", pName); SendClientMessageToAll(ORRANGE, string); PutPlayerInVehicle(playerid, stuntcar, 0); return 1; }