script help - 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: script help (
/showthread.php?tid=99728)
Close Please -
Nathan_Tavares - 30.09.2009
got it nvm thanks
Re: script help -
s0nic - 30.09.2009
Most likely its because you added:
After:
Код:
if (strcmp("/BeginCeremony", cmdtext, true, 10) == 0)
{
SendClientMessageToAll (0xAFAFAFAA,"The Ceremony Begins");
SendClientMessageToAll (0xAFAFAFAA,"The Ceremony Begins");
SendClientMessageToAll (0xAFAFAFAA,"The Ceremony Begins");
SendClientMessageToAll (0xAFAFAFAA,"The Ceremony Begins");
}
Which makes "/BeginCeremony1" outside of the "OnPlayerCommandText", so just remove..:
after "/BeginCeremony" and it should work..
Hope this fixes it.