know someone
#5

[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);
}
Reply


Messages In This Thread
know someone - by admine - 01.08.2010, 14:04
Re: know someone - by willsuckformoney - 01.08.2010, 14:08
Re: know someone - by Ash. - 01.08.2010, 14:14
Re: know someone - by admine - 01.08.2010, 14:20
Re: know someone - by willsuckformoney - 01.08.2010, 14:35
Re: know someone - by admine - 01.08.2010, 14:40

Forum Jump:


Users browsing this thread: 2 Guest(s)