26.07.2014, 13:32
hi guys,i`m installing amry ban system >> https://sampforum.blast.hk/showthread.php?tid=333203
so when i want to complie i get this error :
line 54553:
and this is in include already defined :
any solutions ? what can we do. thanks for help and sorry for my english
so when i want to complie i get this error :
Код:
54553) : error 021: symbol already defined: "GetName"
Код:
stock GetName(playerid) { new name[MAX_PLAYER_NAME]; GetPlayerName(playerid,name,sizeof(name)); return name; }
Код:
GetPlayerIp ( playerid , ip , IP_MAX ),getdate ( nY , nM , nD ), gettime ( nH , nMin , nS ); format ( str , STRING_MAX, "INSERT INTO `"#BAN_LIST"`(`username`, `ip`) VALUES ('%s','%s')", GetName(playerid), ip);