Help me fix this for it to load IsACop
#3

First of all, close your first bracket,
PHP код:
if (IsACop(playerid)) //<missing this last bracket close
{
return 
SendClientMessage(playerid, -1"Ban khong phai la canh sat");

Second, you might not defined IsACop function,
Like this,
PHP код:
IsACop(playerid){
    if(
sInfo[playerid][faction]==Police// sInfo[playerid][faction]==Police is my variable, replace it with yours
    
{
        return 
1;
    }
    return 
0;

Reply


Messages In This Thread
Help me fix this for it to load IsACop - by linhpro200294 - 11.09.2018, 15:44
Re: Help me fix this for it to load IsACop - by solstice_ - 11.09.2018, 15:45
Re: Help me fix this for it to load IsACop - by akib - 11.09.2018, 15:48
Re: Help me fix this for it to load IsACop - by solstice_ - 11.09.2018, 15:49
Re: Help me fix this for it to load IsACop - by linhpro200294 - 11.09.2018, 16:02

Forum Jump:


Users browsing this thread: 1 Guest(s)