- 0
Erori comanda /bonus
-
Recently Browsing 0 members
- No registered users viewing this page.
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.
Question
WicK.
saluuut, folosesc gm-ul lui @Anurakisi cand activez comanda /bonus primesc erori.
cod:
comanda:
CMD:bonus(playerid, params[]) { if(PlayerInfo[playerid][pLevel] > 1) return SCM(playerid, COLOR_GREY, "Nu ai level 1!"); { PlayerInfo[playerid][pPremiumPoints] += 100; pUpdateInt(playerid, "PremiumPoints", PlayerInfo[playerid][pPremiumPoints]); PlayerInfo[playerid][pPlayPoints] += 50; pUpdateInt(playerid, "PlayPoints", PlayerInfo[playerid][pPlayPoints]); PlayerInfo[playerid][pLegendaryCrate] ++; pUpdateInt(playerid, "LegendaryCrate", PlayerInfo[playerid][pLegendaryCrate]); PlayerInfo[playerid][pLevel] += 2; pUpdateInt(playerid, "Level", PlayerInfo[playerid][pLevel]); SetPlayerScore(playerid, PlayerInfo[playerid][pLevel]); GivePlayerCash(playerid, 25000000); updatelevel(playerid); SendClientMessage(playerid, -1, "--------------------------------------------------------------------------------------"); SendClientMessage(playerid, COLOR_DCHAT, "Bonus: {ffffff} Ai primit ca bonus de bun venit :"); SendClientMessage(playerid, COLOR_DCHAT, ">> {ffffff}level 3"); SendClientMessage(playerid, COLOR_DCHAT, ">> {ffffff}100 de puncte premium"); SendClientMessage(playerid, COLOR_DCHAT, ">> {ffffff}50 de PlayPoints"); SendClientMessage(playerid, COLOR_DCHAT, ">> {ffffff}suma de $25,000,000"); SendClientMessage(playerid, COLOR_DCHAT, ">> {ffffff}si un Legendary Crate"); SendClientMessage(playerid, -1, "--------------------------------------------------------------------------------------"); } return true;}2 answers to this question
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