20.05.2009, 14:06
Well Your code didnt work the way i wanted so i edited it :L
Код:
if(strcmp(cmd, "/nrg500", true) == 0) { new Float:x, Float:y, Float:z, Float:a; GetPlayerFacingAngle(playerid,a); GetPlayerPos(playerid, x, y, z); new car; car=CreateVehicle(522,x,y,z+1,a,-1,-1,30000); //change 522 to the car that you want spawn LinkVehicleToInterior(car,GetPlayerInterior( playerid)); return 1;}