A little bit of help please
#5

Sorry I forgot to mention that. The reason that happened is because you can't just use = to set a strings value if the lengths don't match or are undefined.

Also, you might want to replace your sscanf like with this:
pawn Код:
if(sscanf(params, "s[24]", newname)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /setadminname <name>");
If you're using the plugin version of sscanf, it will cause an error/warning message to show if you don't specify a length for the string.
Reply


Messages In This Thread
A little bit of help please - by Scripter12345 - 23.04.2012, 18:11
Re: A little bit of help please - by Calgon - 23.04.2012, 18:13
Re: A little bit of help please - by Scripter12345 - 23.04.2012, 18:15
Re: A little bit of help please - by ViniBorn - 23.04.2012, 18:15
Re: A little bit of help please - by Calgon - 23.04.2012, 18:18

Forum Jump:


Users browsing this thread: 1 Guest(s)