[HELP]filterscript login dialog
#1

GetPlayerName(playerid,playername,sizeof(playernam e));
format(archivo, sizeof(archivo), "/%s.ini", playername);
if (!dini_Exists(archivo))
{

I GET 4 ERRORS OMFG.

samp03bsvr_R2_win32(3)\gamemodes\yvoms.pwn(101) : error 017: undefined symbol "playername"

samp03bsvr_R2_win32(3)\gamemodes\yvoms.pwn(101) : error 017: undefined symbol "playername"

samp03bsvr_R2_win32(3)\gamemodes\yvoms.pwn(101) : error 029: invalid expression, assumed zero

samp03bsvr_R2_win32(3)\gamemodes\yvoms.pwn(101) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Reply
#2

new playername[128];
Reply
#3

mhmm
still get errors but ill try using another script.
Thanks for the help
logitech90 do you have xfire?
so i can ask you for help if it does not work im just new to pawno tough.
Reply
#4

Code:

Код:
new playername[128];
GetPlayerName(playerid,playername,sizeof(playernam e));
format(archivo, sizeof(archivo), "/%s.ini", playername);
if (!dini_Exists(archivo))
{
For XFIRE,no, i hate it.
Reply
#5

WTF. Here:

pawn Код:
GetPlayerName(playerid,playername,sizeof(playername))
format(archivo, sizeof(archivo), "/%s.ini", playername);
if (!dini_Exists(archivo))
{
Reply
#6

Quote:
Originally Posted by Logitech90
Посмотреть сообщение
new playername[128];
OH GOD NO! Why the hell would you create that big string for ONE username when It in no circumstances could be above 24?
Reply
#7

Код:
public OnPlayerConnect(playerid)
{
	new playername[128];
	GetPlayerName(playerid,playername,sizeof(playername));
	format(archivo, sizeof(archivo), "/%s.ini", playername);
	if (!dini_Exists(archivo))
	{
	ShowPlayerDialog(playerid, Register, DIALOG_STYLE_INPUT, "Register", "He writes your password:", "Acept", "Cancel");
	}
else
	{
    ShowPlayerDialog(playerid, Logged, DIALOG_STYLE_INPUT, "Login", "He writes your password", "Acept", "Cancel");
	}
	return 1;
}
i get this errors.
\gamemodes\yvoms.pwn(103) : error 017: undefined symbol "archivo"
\gamemodes\yvoms.pwn(103) : error 017: undefined symbol "archivo"
\gamemodes\yvoms.pwn(103) : error 029: invalid expression, assumed zero
\gamemodes\yvoms.pwn(103) : fatal error 107: too many error messages on one line

What is the archivo thing i dont know what it means.
and the expression, assumed zero i dont know it anymore..
Reply
#8

Use pawno code... [/pawn][/pawn] (first 1 is without / ( [pawn])
Reply
#9

What do you mean exactly?
as i mentioned im new to pawno.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)