25.01.2011, 23:46
Can you help me how to create cars for specific players in-game?
here the code
here the code
Код:
if(dialogid==25)//the dialog which pops up when player enters the vehicle at dealership { if(response) { Money[playerid] = GetPlayerMoney(playerid); if(Money[playerid]<300000) return SendClientMessage(playerid, red, "You dont have enough money."); Veh[playerid]=GetPlayerVehicleID(CreateVehicle(515,659.2692,1850.1108,6.4836,170.6889,13,88, -1)); PutPlayerInVehicle(playerid, Veh[playerid], 0); }