SA-MP Forums Archive
Commands dont work! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Commands dont work! (/showthread.php?tid=72537)



Commands dont work! - krisis32 - 09.04.2009

Hello all! I have problem whit my RP server!
All thes years all did run fine, but i put a new commands in game mode and now.. none cmds works!
Whys that?
I did put my FS commands into a GM .. and now it stop run the commands! Only FS commands works! Help me out!


Re: Commands dont work! - Rks25 - 09.04.2009

What comands did you add and where? Post the code.


Re: Commands dont work! - krisis32 - 09.04.2009

i did added under :
OnPlayerCommandText

heres one command:
Код:
//-------------------------------CarParksPieBankas------------------------------------------------//
	if(strcmp(cmdtext, "/btalon", true) == 0)
	{
	if (PlayerToPoint(2.0, playerid, 1637.0205,-1155.8770,23.8984))
	{
  SendClientMessage(playerid, COLOR_WHITE, "You now have the talon");
  SendClientMessage(playerid, COLOR_PURPLE, "* plz drive in now!");
  GivePlayerMoney(playerid,-15);
  PlayerPlaySound(playerid, 1058, 0.0, 0.0, 0.0);
	SetObjectRot(Gate,3.000000,1.000000,-2.000000);
	talon = 1;
	return 1;
	}
	}
I cant post the code.. cuz then i need to post all my game mode.. the command is everywher.. connect and other!



Re: Commands dont work! - krisis32 - 09.04.2009

anyone? Plz i really need to fix it!


Re: Commands dont work! - GTA_Rules - 09.04.2009

Can you please post entire gamemode?


Re: Commands dont work! - krisis32 - 09.04.2009

I SLOVE the problem!