Little help please?!
#1

Hi my friends.
I'm pretty newb on scripting, so..
What i must do, when i get error like this??

pawn Код:
error 017: undefined symbol "name"
Reply
#2

Someone please help me, i need that
Reply
#3

Quote:
Originally Posted by karla
Hi my friends.
I'm pretty newb on scripting, so..
What i must do, when i get error like this??

pawn Код:
error 017: undefined symbol "name"
ok well what this is saying is that you havent defined name post your code let me have a look and highlight the line for me
Reply
#4

You mean this line, where the error is?
Here u are!
pawn Код:
format(code, 128, "\t\t\t\t<td>%d</td>\n", GetPlayerIp(playerid, name[], len));
                fwrite(tmp, code);
Reply
#5

ok hun i think i no what your trying to do so first add the name stock and compile. it that works you wont need the ip stock but if you get undefined sybol ip ad the second stock aswell i hope this helps

Quote:

stock PlayerName(playerid)
{
new name[255];
GetPlayerName(playerid, name, 255);
return name;
}

//----------------------[ PlayerIP() ] -------------------------------
stock PlayerIP(playerid)
{
new ip[16];
GetPlayerIp(playerid, ip, 16);
return ip;
}

Reply
#6

Quote:
Originally Posted by Krytan
ok hun i think i no what your trying to do so first add the name stock and compile. it that works you wont need the ip stock but if you get undefined sybol ip ad the second stock aswell i hope this helps

Quote:

stock PlayerName(playerid)
{
new name[255];
GetPlayerName(playerid, name, 255);
return name;
}

//----------------------[ PlayerIP() ] -------------------------------
stock PlayerIP(playerid)
{
new ip[16];
GetPlayerIp(playerid, ip, 16);
return ip;
}

Nothing happened
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)