Three (3) error 017: undefined symbol "RegisterPlayer"
#1

GUYS PLEASE HELP ME! I THINK THERES NO WRONG WITH THIS! BUT THE PAWNO KEEPS SAYING THAT ITS WRONG!

Код:
C:\Users\Louis Alcosaba\Downloads\Karagons CNR 1.2\CnR\gamemodes\1.2.pwn(1434) : error 017: undefined symbol "RegisterPlayer"
C:\Users\Louis Alcosaba\Downloads\Karagons CNR 1.2\CnR\gamemodes\1.2.pwn(2494) : error 017: undefined symbol "RegisterPlayer"
C:\Users\Louis Alcosaba\Downloads\Karagons CNR 1.2\CnR\gamemodes\1.2.pwn(2509) : error 017: undefined symbol "RegisterPlayer"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Errors.
Код:
SendClientMessage(playerid, COLOR_ERROR, "This player name is not registered. Please /register before you spawn.");
line1434->	RegisterPlayer(playerid);
		return 1;
Код:
SendClientMessage(playerid, COLOR_ERROR, "You must register using a password first.");
line2494->	        RegisterPlayer(playerid);
			return 1;
Код:
SendClientMessage(playerid, COLOR_ERROR, "Please enter a password below.");
line2509->			RegisterPlayer(playerid);
				return 1;
Reply
#2

Where have you defined it in your script?
Reply
#3

Maybe you just thoughtyou could use it like
pawn Код:
Ban(playerid);
and
pawn Код:
RegisterPlayer(playerid);
But nope you cant untill you define it.
Reply
#4

What you mean where i defined it?
Reply
#5

I PUT THIS #define RegisterPlayer under //Dialogs and got this problem

Код:
C:\Users\Louis Alcosaba\Downloads\Karagons CNR 1.2\CnR\gamemodes\1.2.pwn(1435) : warning 215: expression has no effect
C:\Users\Louis Alcosaba\Downloads\Karagons CNR 1.2\CnR\gamemodes\1.2.pwn(2496) : error 017: undefined symbol "Registerplayer"
C:\Users\Louis Alcosaba\Downloads\Karagons CNR 1.2\CnR\gamemodes\1.2.pwn(2512) : warning 215: expression has no effect
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
one more problem left! please help
Reply
#6

When we say a defined symbol, we don't always mean with the #define pattern. It can be even as variable or function etc.

pawn Код:
stock RegisterPlayer(playerid)
{
    // code for registering the player..
}
And no, we cannot guess its code. It depends on the gamemode and everything else in it.
Reply
#7

im noob in scripting, but i know this is a small problem and i cant even fix please i know you know how to fix this, help me !
Reply
#8

He gave you everything you have to add.Now whats the problem?
Reply
#9

How to add it? im sorry im noob
Reply
#10

Please help
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)