SA-MP Forums Archive
don't 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: don't work (/showthread.php?tid=108317)



don't work - gedux123775 - 13.11.2009

don't work /pm


Re: don't work - Correlli - 13.11.2009

Because it's removed in 0.3, you can find a /pm command here - https://sampwiki.blast.hk/wiki/OnPlayerPrivmsg


Re: don't work - gedux123775 - 13.11.2009

error
C:\Documents and Settings\Gedas\Desktop\MR\gamemodes\MR.GRP.pwn(683 ) : error 017: undefined symbol "tmp"
C:\Documents and Settings\Gedas\Desktop\MR\gamemodes\MR.GRP.pwn(684 ) : error 017: undefined symbol "tmp"
C:\Documents and Settings\Gedas\Desktop\MR\gamemodes\MR.GRP.pwn(685 ) : error 017: undefined symbol "tmp"
C:\Documents and Settings\Gedas\Desktop\MR\gamemodes\MR.GRP.pwn(686 ) : error 017: undefined symbol "gMessage"
C:\Documents and Settings\Gedas\Desktop\MR\gamemodes\MR.GRP.pwn(686 ) : error 017: undefined symbol "strrest"
C:\Documents and Settings\Gedas\Desktop\MR\gamemodes\MR.GRP.pwn(687 ) : error 017: undefined symbol "gMessage"
C:\Documents and Settings\Gedas\Desktop\MR\gamemodes\MR.GRP.pwn(689 ) : error 017: undefined symbol "iName"
C:\Documents and Settings\Gedas\Desktop\MR\gamemodes\MR.GRP.pwn(689 ) : error 017: undefined symbol "iName"
C:\Documents and Settings\Gedas\Desktop\MR\gamemodes\MR.GRP.pwn(689 ) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Gedas\Desktop\MR\gamemodes\MR.GRP.pwn(689 ) : fatal error 107: too many error messages on one line


Re: don't work - (Jeff) - 13.11.2009

Quote:
Originally Posted by gedux123775
error
C:\Documents and Settings\Gedas\Desktop\MR\gamemodes\MR.GRP.pwn(683 ) : error 017: undefined symbol "tmp"
C:\Documents and Settings\Gedas\Desktop\MR\gamemodes\MR.GRP.pwn(684 ) : error 017: undefined symbol "tmp"
C:\Documents and Settings\Gedas\Desktop\MR\gamemodes\MR.GRP.pwn(685 ) : error 017: undefined symbol "tmp"
C:\Documents and Settings\Gedas\Desktop\MR\gamemodes\MR.GRP.pwn(686 ) : error 017: undefined symbol "gMessage"
C:\Documents and Settings\Gedas\Desktop\MR\gamemodes\MR.GRP.pwn(686 ) : error 017: undefined symbol "strrest"
C:\Documents and Settings\Gedas\Desktop\MR\gamemodes\MR.GRP.pwn(687 ) : error 017: undefined symbol "gMessage"
C:\Documents and Settings\Gedas\Desktop\MR\gamemodes\MR.GRP.pwn(689 ) : error 017: undefined symbol "iName"
C:\Documents and Settings\Gedas\Desktop\MR\gamemodes\MR.GRP.pwn(689 ) : error 017: undefined symbol "iName"
C:\Documents and Settings\Gedas\Desktop\MR\gamemodes\MR.GRP.pwn(689 ) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Gedas\Desktop\MR\gamemodes\MR.GRP.pwn(689 ) : fatal error 107: too many error messages on one line
Add these under OnPlayerCommandText(playerid,cmdtext)
pawn Код:
new cmd[256];
    new tmp[256];
    new Message[256];
    new gMessage[256];
    new pName[MAX_PLAYER_NAME+1];
    new iName[MAX_PLAYER_NAME+1];
    new idx;