CMD:admins Help me out - 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)
+--- Thread: CMD:admins Help me out (
/showthread.php?tid=660678)
CMD:admins Help me out -
Marv123 - 10.11.2018
Hello

in Image it shows my status (General Ad)
but on script i kept the name is
General Administrator
why half name is loaded
help me out from this problem guys
Re: CMD:admins Help me out -
khRamin78 - 10.11.2018
we cant help without code but im sure you are missed some string size in sscanf part or maybe at all you defined a small value for that string
Re: CMD:admins Help me out -
TheToretto - 10.11.2018
It's just the string size, the console shows some sscanf errors? Like string buffer overflow or something like that?
Re: CMD:admins Help me out -
Marv123 - 10.11.2018
Code:
Re: CMD:admins Help me out -
IceBilizard - 10.11.2018
change
PHP код:
format(PlayerInfo[playerid][Status], 11, "General Administrator");
to
PHP код:
format(PlayerInfo[playerid][Status], 25, "General Administrator");
Re: CMD:admins Help me out -
Marv123 - 10.11.2018
Thank You IceBilizard