20.02.2011, 05:27
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\My Script.pwn(531) : error 017: undefined symbol "playername"
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\My Script.pwn(531) : error 017: undefined symbol "playername"
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\My Script.pwn(531) : error 029: invalid expression, assumed zero
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\My Script.pwn(531) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
what's the problem
new giveplayername[MAX_PLAYER_NAME];
GetPlayerName(playerid, playername, sizeof(playername));
if(strcmp(cmd, "/register", true) == 0) //players ingame stats
{
if (!dini_Exists(udb_encode(playername)))
{
ShowPlayerDialog(playerid,50,DIALOG_STYLE_INPUT,"R egister","Welcome to the server\n\nPlease open a new account\n\nEnter a password:","Register","Quit");
}
else
{
SendClientMessage(playerid, COLOR_GREY, "You already have a registered account!");
}
return 1;
}
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\My Script.pwn(531) : error 017: undefined symbol "playername"
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\My Script.pwn(531) : error 029: invalid expression, assumed zero
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\My Script.pwn(531) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
what's the problem
new giveplayername[MAX_PLAYER_NAME];
GetPlayerName(playerid, playername, sizeof(playername));
if(strcmp(cmd, "/register", true) == 0) //players ingame stats
{
if (!dini_Exists(udb_encode(playername)))
{
ShowPlayerDialog(playerid,50,DIALOG_STYLE_INPUT,"R egister","Welcome to the server\n\nPlease open a new account\n\nEnter a password:","Register","Quit");
}
else
{
SendClientMessage(playerid, COLOR_GREY, "You already have a registered account!");
}
return 1;
}