01.09.2010, 07:38
pawn Код:
new Scar[MAX_PLAYERS];//at top with other variables
public OnPlayerSpawn(playerid)
{
new Float:x,Float:y,Float:z,Float:ang;
GetPlayerPos(playerid,x,y,z);
GetPlayerFacingAngle(playerid,ang);
Scar[playerid] = CreateVehicle(522,x,y,z,ang,-1,-1,-1);//nrg
PutPlayerInVehicle(playerid,Scar[playerid],0)
return 1;
}