know someone
#3

pawn Код:
veh = CreateVehicle(blah blah)
SetVehicleParams(veh, 1);

public OnPlayerCommandText(playerid, cmdtext[])
if(strcmp("/yourcommand", cmdtext) == 0)
{
GivePlayerMoney(playerid, -yourprice (with minus);
DestroyVehicle(veh);
new Float:x, Float:y, Float:z
GetPlayerPos(playerid, x, y, z);
CreateVehicle(blah, x+5, y+5, z);
}
Something like that, thats really really basic though lol

Something basic like that
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)