Jump to content
  • 0

Cum procedez ,ca o comanda creata de mine sa o foloseasca decat admini cu lvl 4


AliNuTzZz

Question

2 answers to this question

Recommended Posts

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

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.