Very Easy to help me :)
#1

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
Reply
#2

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)