Nigga Posted May 21, 2018 Share Posted May 21, 2018 Stie cineva din ce cauza nu imi functioneaza comenzile atunci cand bun la o comanda sa fie accesibila si pentru admini si pentru helperi. EXEMPLU: if(PlayerInfo[playerid][pAdmin] < 1 || PlayerInfo[playerid][pHelper] < 1) return 1; COMANDA: https://pastebin.com/hxcV8ux6 Link to comment Share on other sites More sharing options...
iPanter Posted May 21, 2018 Share Posted May 21, 2018 if(PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pHelper] < 1) return SendClientMessage(playerid,COLOR_WHITE,AdminOnly); Link to comment Share on other sites More sharing options...
Administrator Leonard Posted May 22, 2018 Administrator Share Posted May 22, 2018 || -> si && -> sau E o mare diferenta. Tu ai verificat daca playerid are si admin si helper. Verificarea ta trebuie sa fie asa daca vrei sa aibe acces daca are admin sau helper. if( PlayerInfo[ playerid ][ pAdmin ] < level && PlayerInfo[ playerid ][ pHelper ] < level ) return SendClientMessage( playerid, -1, "Nu ai acces la aceasta comanda." ); Arabu 1 www.liberty.mp Link to comment Share on other sites More sharing options...
Administrator Leonard Posted May 24, 2018 Administrator Share Posted May 24, 2018 Topic inactiv. Locked www.liberty.mp Link to comment Share on other sites More sharing options...
Recommended Posts