Problems with /v command
#3

[/pawn]zcmd(v, playerid, params[])
{
new vehicle, string[128];
if (!sscanf(params, "i", vehicle)) return SendClientMessage(playerid,COLOR_RED,"USAGE: /v [vehicleid]");
else
new Float,Float:y, Float:z, Float:angle;
GetPlayerPos(playerid,x,y,z);
GetPlayerFacingAngle(playerid,angle);
CreateVehicle(vehicle, x, y, z, angle, 0, 0, 9999999999);
format(string,sizeof(string),"You have spawned VID %d at your location.",vehicle);
SendClientMessage(playerid, COLOR_GREEN, string);
return 1;
}[/pawn]
Reply


Messages In This Thread
Problems with /v command - by biltong - 27.01.2010, 15:53
Re: Problems with /v command - by DeathOnaStick - 27.01.2010, 17:57
Re: Problems with /v command - by Niixie - 27.01.2010, 18:12
Re: Problems with /v command - by biltong - 27.01.2010, 18:52
Re: Problems with /v command - by biltong - 12.02.2010, 15:39
Re: Problems with /v command - by MadeMan - 12.02.2010, 16:00
Re: Problems with /v command - by biltong - 12.02.2010, 17:40
Re: Problems with /v command - by MadeMan - 12.02.2010, 20:49
Re: Problems with /v command - by biltong - 13.02.2010, 06:35
Re: Problems with /v command - by mansonh - 13.02.2010, 07:41

Forum Jump:


Users browsing this thread: 1 Guest(s)