Make it not work for VIPs? You pretty much just did it.
pawn Код:
if( PlayerInfo[ playerid ][ pVip ] == 0 )
{
if(GetPlayerSpeed(playerid) > 270)
{
TogglePlayerControllable(playerid,0);
format(string, sizeof(string), "%s Vaћiavo didesniu nei 270 km/h greičiu. /stebeti %s", name, name);
for(new i=0; i<MAX_PLAYERS; i++) if(PlayerInfo[i][pAdmin] == 1) SendClientMessage(i, -1, string);
}
}
or
pawn Код:
if(GetPlayerSpeed(playerid) > 270 && PlayerInfo[ playerid ][ pVip ] == 0)
{
TogglePlayerControllable(playerid,0);
format(string, sizeof(string), "%s Vaћiavo didesniu nei 270 km/h greičiu. /stebeti %s", name, name);
for(new i=0; i<MAX_PLAYERS; i++) if(PlayerInfo[i][pAdmin] == 1) SendClientMessage(i, -1, string);
}