07.04.2012, 22:19
Hello, Im using these coords:
This actually adds a "police light" in the middle of the dash.
I would like to have it at the right of the dash, Like in this video:
[ame]http://www.youtube.com/watch?v=lqH100ME1sA[/ame]
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;
}
I would like to have it at the right of the dash, Like in this video:
[ame]http://www.youtube.com/watch?v=lqH100ME1sA[/ame]