Anyone know how to fix this??
#7

Quote:
Originally Posted by Passout
Посмотреть сообщение
new idx;
new cmd[256];
new tmp[250];
cmd = strtok(cmdtext, idx);

cmdtext is defined under OnPlayerCommandText(playerid, cmdtext[]) ? Isn't it...
they're too big in my opinion when it comes to command string lengths. try using equal sizes for both, that might be able to fix it.

pawn Код:
new cmd[128], tmp[128];

// alternatively...

new cmd[64], tmp[64];
Reply


Messages In This Thread
Anyone know how to fix this?? - by Passout - 20.03.2012, 18:23
Re: Anyone know how to fix this?? - by spd_sahil - 20.03.2012, 18:26
Re: Anyone know how to fix this?? - by Skribblez - 20.03.2012, 18:27
Re: Anyone know how to fix this?? - by Passout - 20.03.2012, 18:30
Re: Anyone know how to fix this?? - by Passout - 20.03.2012, 18:34
Re: Anyone know how to fix this?? - by Passout - 20.03.2012, 18:40
Re: Anyone know how to fix this?? - by Skribblez - 20.03.2012, 18:41
Re: Anyone know how to fix this?? - by Passout - 20.03.2012, 18:46
Re: Anyone know how to fix this?? - by Skribblez - 20.03.2012, 18:56

Forum Jump:


Users browsing this thread: 2 Guest(s)