23.02.2011, 14:00
ok so i have this cmd
and i get this error
please help thanks
Код:
public OnPlayerCommandText(playerid, cmdtext[],params[])
{
if (strcmp("/register", cmdtext, true, 10) == 0)
{
if (PLAYERLIST_authed[playerid]) return SystemMsg(playerid,"{F81414}Your Already Registered!");
if (udb_Exists(PlayerName(playerid))) return SystemMsg(playerid,"{F81414}Your Registered But Not Logged In Type /login [password]");
if (strlen(params)==0) return SystemMsg(playerid,"{F81414}USAGE: /register [password]");
if (udb_Create(PlayerName(playerid),params))
{
SystemMsg(playerid,"{6EF83C}Account Created! Now Use /login [password] To Login.");
}
}
return 1;
}
Код:
C:\Users\Stephen-Laptop\Desktop\Samp Stunt Server\filterscripts\regsystem.pwn(110) : error 025: function heading differs from prototype Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.



anyway 2 fix?