Fusion98 Posted April 24 Share Posted April 24 Siemanko, mam problem z stworzeniem klasy premium, wszystko się skompilowało, ale nic nie działa xD Dopiero zaczynam, nie wiem czy zrobiłem wszystko tak jak powinno to wyglądać. Znalazłem temat na forum z problemem dodania klasy premium, kolega podał kod, który tworzy klasę premium, ale każdy gracz bez flag może nią grać, dodatkowo chciałem dodać 20% mniej widoczności postaci, ale postać cały czas jest widoczna tak samo, dodatkowo mam problem z perkiem kamuflaż, mianowicie nie dodaje w ogole niewidzialności. Dodałem to do cod class enabled: Cytat public cod_class_enabled(client) { if(GetUserFlagBits(client) & ADMFLAG_CUSTOM1) { ma_klase[client] = true; SetEntityRenderMode(client, RENDER_TRANSCOLOR); SetEntityRenderColor(client, 255, 255, 255, 204); return COD_CONTINUE; } PrintToChat(client, "%s Aby zagrać tą klasą kup Premium"); return COD_STOP; } Link to comment Share on other sites More sharing options...
Paweł SM Posted April 25 Share Posted April 25 Zaloguj się lub zarejestruj aby zobaczyć zawartość. » Support: https://discord.com/invite/uHDRyJ9d3A » Discord: Paweł#8244 » Steam: /id/pawelsteam Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now