Some errors in my scripting (Please help me)
#6

The 6 errors of this are here:

if (strcmp("/register", cmdtext, true, 10) == 0)
{
if (PlayerInfo[playerid][LoggedIn] == 1) return SendClientMessage(playerid,COLOR_LIME, "ACCOUNT: You are now registered, and have been automaticaly logged in");
if (udb_Exists(PlayerName2(playerid))) return SendClientMessage(playerid,COLOR_LIME, "ACCOUNT: The name $d, is already registered on this server. Please login or you will be disconnected in 60 seconds.");
if (strlen(params) == 0) return SendClientMessage(playerid,COLOR_RED,"ACCOUNT: Usage: '/register [password]");
if (strlen(params) < 4 || strlen(params) > 20) return SendClientMessage(playerid,COLOR_RED,"ACCOUNT: Password length must be greater than three characters");
if (udb_Create(PlayerName2(playerid),params))



Check it please
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)