error custom func when input y_timers
#1

hi, i use custom function for get player ip

PHP код:
stock GetIP(playerid// 419
{
    new 
ips[20];
    
GetPlayerIp(playeridipssizeof(ips)); // 422
    
return ips;

but, after i input
PHP код:
#include <YSI\y_timers> 
and i got error
PHP код:
project.pwn(419) : error 001expected token"-identifier-"but found "("
project.pwn(422) : error 021symbol already defined"GetPlayerIp"
project.pwn(423) : error 010invalid function or declaration
project
.pwn(431) : warning 203symbol is never used"ips"
Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase 
so?what solution? but dont make custom function lost?
Reply


Messages In This Thread
error custom func when input y_timers - by kecoajepit - 06.04.2018, 00:24
Re: error custom func when input y_timers - by kovac - 06.04.2018, 01:33

Forum Jump:


Users browsing this thread: 1 Guest(s)