- 0
Erori comanda /bonus
-
Similar Content
-
- 3 answers
- 385 views
-
- 3 replies
- 142 views
-
- 2 replies
- 48 views
-
- 5 replies
- 58 views
-
- 5 answers
- 139 views
-
-
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;}
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.