hi im new to scripting and i need help
#6

Quote:
Originally Posted by Don Correlli
C:\Documents and Settings\matt\Desktop\SAMP LEARNING\gamemodes\learning.pwn(406) : error 017: undefined symbol "MAX_STRING"
C:\Documents and Settings\matt\Desktop\SAMP LEARNING\gamemodes\learning.pwn(406) : error 009: invalid array size (negative, zero or out of bounds)
C:\Documents and Settings\matt\Desktop\SAMP LEARNING\gamemodes\learning.pwn(406) : error 036: empty statement
C:\Documents and Settings\matt\Desktop\SAMP LEARNING\gamemodes\learning.pwn(406) : fatal error 107: too many error messages on one line
line 406 =
public OnPlayerCommandText(playerid, cmdtext[])
{
405- new idx;
406-new cmd[MAX_STRING];
407-new tmp[MAX_STRING];
408 cmd = strtok(cmdtext, idx);
lol sorry yeah i have defined dcmd #define dcmd(%1,%2,%3) if ((strcmp((%3)[1], #%1, true, (%2)) == 0) && ((((%3)[(%2) + 1] == 0) && (dcmd_%1(playerid, "")))||(((%3)[(%2) + 1] == 32) && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1
Reply


Messages In This Thread
hi im new to scripting and i need help - by madmatty - 21.06.2009, 10:34
Re: hi im new to scripting and i need help - by mamorunl - 21.06.2009, 11:52
Re: hi im new to scripting and i need help - by madmatty - 21.06.2009, 12:10
Re: hi im new to scripting and i need help - by madmatty - 21.06.2009, 12:38
Re: hi im new to scripting and i need help - by Correlli - 21.06.2009, 13:04
Re: hi im new to scripting and i need help - by madmatty - 21.06.2009, 14:15
Re: hi im new to scripting and i need help - by Correlli - 21.06.2009, 14:37
Re: hi im new to scripting and i need help - by madmatty - 21.06.2009, 14:45
Re: hi im new to scripting and i need help - by madmatty - 21.06.2009, 14:58
Re: hi im new to scripting and i need help - by MadeMan - 21.06.2009, 15:39

Forum Jump:


Users browsing this thread: 2 Guest(s)