10.12.2012, 13:39
Dude you put the model of the car
right here at red mark
use like this:
right here at red mark
Код:
AddStaticVehicle(412,2511.3474,-1688.5330,13.3903,230.1526,10,8); // GroveC1
pawn Код:
new thevehicle;
public OnGameModeInit()
{
SetGameModeText("Live 'N' Scream");
AddPlayerClass(107,2519.5652,-1673.0038,14.5379,80.2884,0,0,0,0,0,0); // GroveS1
thevehicle = AddStaticVehicle(412,2511.3474,-1688.5330,13.3903,230.1526,10,8); // GroveC1
return 1;
}
public OnGameModeExit()
{
return 1;
}
public OnPlayerConnect(playerid)
{
SendClientMessage(playerid, COLOR_YELLOW, "SERVER: /modhelp -> /admins -> /updates");
return 1;
}
public OnPlayerEnterVehicle(playerid, vehicleid)
{
if(vehicleid == thevehicle)
{
new name[MAX_PLAYER_NAME+1];
GetPlayerName(playerid, name,sizeof(name));
if(strfind(name,"[GS]",false) != -1);
}
else
{
SendClientMessage(playerid, COLOR_GREEN,"SERVER: You are not a official Grove Street Member!");
RemovePlayerFromVehicle(playerid);
}
}
return 1;
}