AliNuTzZz Posted August 11, 2011 Report Share Posted August 11, 2011 Deci vreau sa poata folosi aceasta comanda numai admini cu level peste 4,cum este acea comanda cu /ban si o folosec decat admini cu lvl peste 3 Link to comment Share on other sites More sharing options...
heker Posted August 12, 2011 Report Share Posted August 12, 2011 Daca folosesti GF faci [pawn]//if(PlayerInfo[playerid][pAdmin] > 4){//[/pawn] Link to comment Share on other sites More sharing options...
xxSPEEDYxx Posted August 12, 2011 Report Share Posted August 12, 2011 Daca folosesti ladmin faci:[pawn]//if ( PlayerInfo[ playerid ][ Level ] > 4 ){ //functiile}else return SendClientMessage( playerid, RED, "nu esti level 4" );return 1;}[/pawn]Daca folosesti LuxAdmin faci:[pawn]//if ( AccInfo[ playerid ][ Level ] > 4 ){ //functiile}else return SendClientMessage( playerid, RED, "nu esti level 4" );return 1;}[/pawn]Daca folosesti 0admin...poti face si in GM/FS comanda folosiind GetPlayerLevel[pawn]if ( GetPlayerLevel( playerid ) > 4 ){ //functiile}else return SendClientMessage( playerid, RED, "nu esti level 4" );return 1;}[/pawn] Fara reclama in semnatura! Link to comment Share on other sites More sharing options...
Question
AliNuTzZz
Deci vreau sa poata folosi aceasta comanda numai admini cu level peste 4,cum este acea comanda cu /ban si o folosec decat admini cu lvl peste 3
Link to comment
Share on other sites
2 answers to this question
Recommended Posts