- 0
Erori comanda /bonus
-
Similar Content
-
- 3 replies
- 262 views
-
- 10 replies
- 717 views
-
Comanda /spec
By VAurel,
- 4 answers
- 217 views
-
- 4 answers
- 591 views
-
- 3 replies
- 220 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
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.