Car attachment in the sky [REP+]
#6

Quote:
Originally Posted by Rittik
Посмотреть сообщение
Код:
CMD:pursuit(playerid, params[])
{
	 new light = CreateObject(18646,2001.195679, 1547.113892, 14.283400, 0.0, 0.0, 96.0);
	 new vehmodel = GetVehicleModel(GetPlayerVehicleID(playerid));
	 if (vehmodel == 541 || vehmodel == 560) SendClientMessage(playerid, 0x2641FEAA, "You've put police light. Go get him!");
	 {
     AttachObjectToVehicle(light, GetPlayerVehicleID(playerid), 0, 0, 2, 0, 0, 0);
     }
     else
     {
     SendClientMessage(playerid, 0xAA3333AA, "You're not in police pursuit vehicle!");
     return 1; //return 1 ?
     }
     return 1;
}
2 returns just makes a new warning..?
Reply


Messages In This Thread
Car attachment in the sky [REP+] - by Bek_Loking - 29.05.2014, 13:11
Re: Car attachment in the sky [REP+] - by Rittik - 29.05.2014, 13:14
Re: Car attachment in the sky [REP+] - by Luca12 - 29.05.2014, 13:14
Re: Car attachment in the sky [REP+] - by Bek_Loking - 29.05.2014, 13:22
Re: Car attachment in the sky [REP+] - by Rittik - 29.05.2014, 13:27
Re: Car attachment in the sky [REP+] - by Bek_Loking - 29.05.2014, 13:30
Re: Car attachment in the sky [REP+] - by Rittik - 29.05.2014, 13:32
Re: Car attachment in the sky [REP+] - by Bek_Loking - 29.05.2014, 13:39
Re: Car attachment in the sky [REP+] - by Rittik - 29.05.2014, 13:44
Re: Car attachment in the sky [REP+] - by Bek_Loking - 29.05.2014, 13:48

Forum Jump:


Users browsing this thread: 1 Guest(s)