06.12.2011, 11:29
See if it works or not
pawn Код:
if(pickupid == CarPickup)
{
new Float:Poszz[4];
DestroyVehicle(g_pVeh[playerid]);
GetPlayerPos(playerid, Poszz[0], Poszz[1], Poszz[2]);
GetPlayerFacingAngle(playerid, Poszz[3]);
g_pVeh[playerid] = CreateVehicle(560, Poszz[0], Poszz[1], Poszz[2], Poszz[3], 0, 0, 5000000);
PutPlayerInVehicle(playerid, g_pVeh[playerid], 0);
SendClientMessage(playerid, -1, "Vehicle created.");
Create3DTextLabel("{1BD6E0}Car Spawn",0x03B8FCFF,2035.0969, 1465.6558, 10.8203, 50,0);
}