01.08.2010, 14:40
Quote:
[pawn]
// at top veh = CreateVehicle(blah blah) SetVehicleParams(veh, 1); //OnPlayerCommandText duh public OnPlayerCommandText(playerid, cmdtext[]) if(strcmp("/yourcommand", cmdtext) == 0) { GivePlayerMoney(playerid, -yourprice (with minus); DestroyVehicle(veh); new Float, Float:y, Float:z GetPlayerPos(playerid, x, y, z); CreateVehicle(blah, x+5, y+5, z); } |