Help With this command - 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: Help With this command (
/showthread.php?tid=93774)
Help With this command -
Smiths - 26.08.2009
i got this code:
Код:
{
if (strcmp("/testmenu", cmdtext, true, 10) == 0)
{
ShowMenuForPlayer(TestMenu,playerid);
TogglePlayerControllable(playerid,0);
return 1;
}
return 0;
}
It work 100%
but all my other command doesn't work!
and it give me a Warning on the line under the this command code
Re: Help With this command -
M4S7ERMIND - 26.08.2009
you have return 0.. it shouldnt be there
Код:
if (strcmp("/testmenu", cmdtext, true, 10) == 0)
{
ShowMenuForPlayer(TestMenu,playerid);
TogglePlayerControllable(playerid,0);
return 1;
}
Re: Help With this command -
Smiths - 26.08.2009
thank you! it work great now!
Re: Help With this command -
Correlli - 26.08.2009
Are you really blind or are you just trying to post count?
Quote:
Originally Posted by XCultz
MORE ENFO!!
|
Quote:
Originally Posted by Smiths
thank you! it work great now!
|