SA-MP Forums Archive
Very Easy to help me :) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Very Easy to help me :) (/showthread.php?tid=440027)



Very Easy to help me :) - SupermanV - 28.05.2013

I have a problem...I need you to fix my 2 errors...

Код:
C:\Users\AnaC\Desktop\zom-esc.pwn(2223) : error 017: undefined symbol "GetRankName"
C:\Users\AnaC\Desktop\zom-esc.pwn(2225) : error 017: undefined symbol "GetRankName"
C:\Users\AnaC\Desktop\zom-esc.pwn(2439) : warning 211: possibly unintended assignment
C:\Users\AnaC\Desktop\zom-esc.pwn(3407) : warning 209: function "S@@_OnPlayerCommandText" should return a value
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Line 2223: format(toplayer,128,"Administrator %s has set your rank to number %d. You are now a %s.",aaname,rank, GetRankName(rank));
Line 2225: format(toadmin,128,"You have made %s a %s, which is rank %d.",pName, GetRankName(rank),rank);



REPLY OR ADD ME ON SKYPE: gregor.kouk


Re: Very Easy to help me :) - Abhishek. - 28.05.2013

add return 1; under on player command text
and you dont have a function with name GetRankName


Re: Very Easy to help me :) - SupermanV - 28.05.2013

add me on skype: gregor.kouk
I can't fix it