29.12.2010, 19:37
This does not want to work for some reason?
I just want it to set the License Plate everytime it spawns...
pawn Код:
if(newcar >= 71 && newcar <= 74)
{
if (HireCar[playerid] != newcar)
{
new string[128];
format(string, sizeof(string), "~w~You can Rent this car~n~Cost:~g~$%d~n~~w~To rent type ~g~/rentcar~w~~n~to get out type ~r~/exit",BizzInfo[8][bEntcost]);
TogglePlayerControllable(playerid, 0);
GameTextForPlayer(playerid, string, 5000, 3);
SetVehicleNumberPlate(HireCar[playerid], "Hire Car");
SetVehicleToRespawn(HireCar[playerid]);
}
}