What?!
#1

PHP код:
stock GetIP(playerid)
{
    static 
IP_Igraca[25];
    
GetPlayerIp(playeridIP_Igracasizeof IP_Igraca);
    return 
IP_Igraca;

On this line
PHP код:

I get this error
PHP код:
C:\Users\Admin\Desktop\Ostali Modovi\Las Venturas\gamemodes\lv-rpg.pwn(24588) : error 021symbol already defined"GetIP" 
Reply
#2

ctrl f "GetIP" and see if any duplicates show up?
Reply
#3

Nope. Only that stock and here
PHP код:
format(string,sizeof(string), "GETIP | Staff: %s | Igrac: %s"GetName(playerid), GetName(pplayerid)); 
But that is message..
Reply
#4

Nvm guys. Fixed. I deleted that stock because i defined different here. thx
Reply
#5

It's a function, not a "stock". Along with this, chances are you're still using it wrong.

https://sampforum.blast.hk/showthread.php?tid=570635
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)