12.05.2016, 07:01
So basically i have this /v [ID] command. I want to disable it in DM zones and in race. In DM Zones it is working just fine
That is for DM zones and it is working fine. But when it comes to race there is problem
It spawns veh in race. How can i fix this??
Код:
if(PlayerJoinedDMZone[playerid] == 1) { SCM(playerid, 0xF81414, "Ne mozete to u DM zoni"); return 1; } else if(PlayerJoinedDMZone2[playerid] == 1) { SCM(playerid, 0xF81414, "Ne mozete to u DM zoni"); return 1; } else if(PlayerJoinedDMZone3[playerid] == 1) { SCM(playerid, 0xF81414, "Ne mozete to u DM zoni"); return 1; } else if(PlayerJoinedDMZone4[playerid] == 1) { SCM(playerid, 0xF81414, "Ne mozete to u DM zoni"); return 1; } else if(PlayerJoinedDMZone5[playerid] == 1) { SCM(playerid, 0xF81414, "Ne mozete to u DM zoni"); return 1; }
Код:
if(Joined[playerid] == 1) { SCM(playerid, 0xF81414, "Ne mozete to dok ste u trci"); return 1; }