12.07.2009, 16:53
I got some errors
Errors:
Help please
Код:
//--------------------------------------Server Entry---------------------------- public OnPlayerConnect(playerid ) { new plrIP[16]; GetPlayerIp(playerid, plrIP, sizeof(plrIP)); if (!strcmp(plrIP, "127.0.0.1")) { SendClientMessage(playerid, COLOR_RED,"Attention: Server Owner Has Joined The Server") } return 1; } //-------------------------------------------------------------------------------
Код:
C:\Users\Nathan\Desktop\Script.pwn(2) : warning 235: public function lacks forward declaration (symbol "OnPlayerConnect") C:\Users\Nathan\Desktop\Script.pwn(5) : error 017: undefined symbol "GetPlayerIp" C:\Users\Nathan\Desktop\Script.pwn(5) : warning 202: number of arguments does not match definition C:\Users\Nathan\Desktop\Script.pwn(7) : error 017: undefined symbol "strcmp" C:\Users\Nathan\Desktop\Script.pwn(8) : error 017: undefined symbol "SendClientMessage" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 3 Errors.