invalid expression, assumed zero
#5

PHP код:
    if(pInfo[playerid][Admin] >= )
    {
    new 
ip[16], country[32];
    
GetIPCountry(ipcountrysizeof country);
    
GetPlayerIp(playerid,ip,sizeof(ip));
    
format(str,sizeof(str), "{c3c3c3}(INFO) %s joined the game (ID: %d || Country: %s )",nameplayeridcountry);
    
SendMessageToAdmins(str);
    }
    else if (
pInfo[playerid][Admin] >= )
    {
    new 
ip[16], country[32], isp[32], city[32];
    
GetPlayerIp(playeridip16);
    
GetIPCountry(ipcountrysizeof country);
    
GetIPISP(ipispsizeof isp);
    
GetIPCity(ipcitysizeof city);
    
GetPlayerIp(playerid,ip,sizeof(ip));
    
format(str,sizeof(str), "{c3c3c3}(INFO) %s joined the game (ID: %d || IP: %s || Country: %s || City: %s || ISP: %s)",nameplayeridipcountrycityisp);
    
SendMessageToAdmins(str);
    }
    else if (
pInfo[playerid][Admin] >= 0)
     {
    
format(str,sizeof(str), "{c3c3c3}(INFO) %s (ID: %d) joined the game !",nameplayerid);
    
SendClientMessageToAll(playeridstr);
    } 
this should be ok then?
Reply


Messages In This Thread
invalid expression, assumed zero - by wallen - 09.02.2018, 12:26
Re: invalid expression, assumed zero - by Maximun - 09.02.2018, 12:53
Re: invalid expression, assumed zero - by wallen - 09.02.2018, 13:11
Re: invalid expression, assumed zero - by jasperschellekens - 09.02.2018, 13:22
Re: invalid expression, assumed zero - by wallen - 09.02.2018, 13:30
Re: invalid expression, assumed zero - by Maximun - 09.02.2018, 13:31
Re: invalid expression, assumed zero - by wallen - 09.02.2018, 13:33

Forum Jump:


Users browsing this thread: 2 Guest(s)