Coord... +REP! -
pawn Код:
case 1:
{
if(Siren[VID] == 1)
{
SendClientMessage(playerid, COLOR_GOLD, "(INFO) This vehicle already has a siren!");
return 1;
}
new sendername[MAX_PLAYER_NAME];
Siren[VID] = 1;
GetPlayerName(playerid, sendername, sizeof(sendername));
SirenObject[VID] = CreateObject(18646, 10.0, 10.0, 10.0, 0, 0, 0);
AttachObjectToVehicle(SirenObject[VID], VID, 0.0, 0.95, 0.275, 0.0, 0.1, 0.0); //75
format(string, sizeof(string), "%s puts the police light on the dashboard.", sendername);
ProxDetector(30.0, playerid, string, COLOR_LIGHTBLUE,COLOR_LIGHTBLUE,COLOR_LIGHTBLUE,COLOR_LIGHTBLUE,COLOR_LIGHTBLUE);
return 1;
}
This actually adds a "police light" in the middle of the dash.
Re: Coord... +REP! -
Use a object attacher for cars (one that saves) and get the cords from that file. (i would give u them but i cant go in-game at the moment)
Re: Coord... +REP! -