I need help
#8

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp("/hydra", cmdtext, true, 10) == 0)
	{
		{
	GetPlayerPos(playerid, x, y, z);
	GetPlayerFacingAngle(playerid, ang);
	CreateVehicle(510, x+1, y+1, z+1, 0, 0, 0, 600);
	SetVehicleZAngle(VehicleID, ang);
	return 1;
}
That is the code to create the command "/hydra" which spawns a hydra.
Reply


Messages In This Thread
I need help - by [TW]randomguy - 06.04.2010, 20:17
Re: I need help - by andmeida10 - 06.04.2010, 20:18
Re: I need help - by [TW]randomguy - 06.04.2010, 20:20
Re: I need help - by aircombat - 06.04.2010, 20:33
Re: I need help - by [TW]randomguy - 06.04.2010, 20:46
Re: I need help - by DeadalusNetwork - 06.04.2010, 20:54
Re: I need help - by dice7 - 06.04.2010, 20:57
Re: I need help - by [TW]randomguy - 07.04.2010, 06:09
Re: I need help - by biltong - 07.04.2010, 08:59
Re: I need help - by -Rebel Son- - 07.04.2010, 16:09

Forum Jump:


Users browsing this thread: 1 Guest(s)