May 3, 201115 yr comment_55964 Yop Raijojp, encore une petit modification d'un plugin pour le systeme VIP ^^ http://forums.alliedmods.net/showthread.php?t=118354 Il faudrait autorisé le !lowgrav et le !normalgrav (sm_cp_gravity) au flag b et t Si ta moyen de m'indiquer comment faire au pire je fait vu qu'il est souvent a jour le plugin. Merci d'avance Report
June 1, 201115 yr comment_57985 Il te suffit de mettre ce petit bout de script : public IsVIP(client) { if ((GetUserFlagBits(client) & ADMFLAG_CUSTOM6) || (GetUserFlagBits(client) & ADMFLAG_GENERIC)) return true; else return false; } Et de vérifier lors de l'utilisation des commandes si le joueur est un VIP. En gros, modifier les fonctions rattachées aux commandes. public Action:Client_Lowgrav(client, args){ ClientGravity(client,0.5); return Plugin_Handled; } devient public Action:Client_Lowgrav(client, args){ if (IsVIP(client)) ClientGravity(client,0.5); return Plugin_Handled; } Même chose pour Action:CLient_Normalgrav Report
June 2, 201115 yr Author comment_58160 J'ai utilisé finalement un autre plugin qui le déveloper adore notre bunny il nous a fait une version private merci raijojp comme même :thumbsup: Tu peut lock Report
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.