Error: name and value
#1

Hi, how do I fix this error and make it work.
Already bother with it all day

Code:
PHP код:
new pIP[128], str[MAX_STRING];
GetPlayerIp(playerid,pIP,128);
INI_String("ZeroAdmin/aka.txt",pIP,128);
if(
strlen(pIP) == 0)
INI_String("ZeroAdmin/aka.txt"pIPPlayerName(playerid));
else
{
if(
strfind(pIPPlayerName(playerid), true) == )
{
format(str,sizeof(str),"%s,%s"pIPPlayerName(playerid));
INI_String("ZeroAdmin/aka.txt"str,pIP);
}

Errors:
PHP код:
C:\Users\Mivco\Desktop\GameMode.pwn(207) : error 017undefined symbol "name"
C:\Users\Mivco\Desktop\GameMode.pwn(207) : error 017undefined symbol "value"
C:\Users\Mivco\Desktop\GameMode.pwn(209) : error 017undefined symbol "name"
C:\Users\Mivco\Desktop\GameMode.pwn(209) : error 017undefined symbol "value"
C:\Users\Mivco\Desktop\GameMode.pwn(215) : error 017undefined symbol "name"
C:\Users\Mivco\Desktop\GameMode.pwn(215) : error 017undefined symbol "value" 
Lines:
207: INI_String("ZeroAdmin/aka.txt",pIP,12;
209: INI_String("ZeroAdmin/aka.txt", pIP, PlayerName(playerid));
215: INI_String("ZeroAdmin/aka.txt", str,pIP);


Original Code:
PHP код:
new pIP[50]; GetPlayerIp(playerid,pIP,50);
new 
string2[256];
if(
strlen(dini_Get("ZeroAdmin/aka.txt"pIP)) == 0)
dini_Set("ZeroAdmin/aka.txt"pIPPlayerName);
else
{
if( 
strfinddini_Get("ZeroAdmin/aka.txt"pIP), PlayerNametrue) == -)
{
format(string2,sizeof(string2),"%s,%s"dini_Get("ZeroAdmin/aka.txt",pIP), PlayerName);
dini_Set("ZeroAdmin/aka.txt"pIPstring2);
}

Will you help me with a problem?
Reply


Messages In This Thread
Error: name and value - by EmpireSk - 07.02.2015, 18:57
Re: Error: name and value - by EmpireSk - 07.02.2015, 21:08
Re: Error: name and value - by EmpireSk - 08.02.2015, 11:43
Re: Error: name and value - by Rissam - 09.02.2015, 11:39

Forum Jump:


Users browsing this thread: 1 Guest(s)