Jump to content
  • -1




Am incercat sa fac cumva ca atunci cand un admin nivel 1+ da comanda /slap /kick etc la un admin nivel 5+ sa nu ii poata da, insa nu prea stiu cum, am incercat eu ceva de genul asta "if (PlayerInfo[playerid][pAdmin] <=5) return SendClientMessage(playerid, COLOR_ADMCOMMANDS, "Nu poti folosi aceasta comanda pe un admin nivel 5+.");" Stiu ca o sa radeti de mine dar asta mi a trecut mie in cap.....

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • -1

vezi cum ai variabila de targetid sau id si foloseste asa 'if(PlayerInfo[id][pAdmin] <= 6) return SCM(playerid,-1,"blablabla");

O pui dupa if(sscanf sau if(isnull cum ai tu.

Sper ca te-am ajutat!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • 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.