- 0
/BONUS
-
Similar Content
-
- 3 replies
- 268 views
-
- 10 replies
- 724 views
-
- 5 replies
- 537 views
-
- 4 replies
- 1,177 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
K0hL
C:\Users\Vlad\Desktop\BigZoneGM\gamemodes\BigZoneGM.pwn(20522) : error 010: invalid function or declaration
C:\Users\Vlad\Desktop\BigZoneGM\gamemodes\BigZoneGM.pwn(20537) : error 029: invalid expression, assumed zero
C:\Users\Vlad\Desktop\BigZoneGM\gamemodes\BigZoneGM.pwn(20544) : error 010: invalid function or declaration
CMD:bonus(playerid, params[])
{
TextDrawShowForPlayer(playerid, TDEditor_TD[0]);
TextDrawShowForPlayer(playerid, TDEditor_TD[1]);
TextDrawShowForPlayer(playerid, TDEditor_TD[2]);
TextDrawShowForPlayer(playerid, TDEditor_TD[3]);
SelectTextDraw(playerid, 0xFF0000FF);
}
return 1;
}
public OnPlayerClickTextDraw(playerid, Text:clickedid)
{
if(clickedid == TDEditor_TD[1])
{
TextDrawHideForPlayer(playerid, TDEditor_TD[0]);
TextDrawHideForPlayer(playerid, TDEditor_TD[1]);
TextDrawHideForPlayer(playerid, TDEditor_TD[2]);
TextDrawHideForPlayer(playerid, TDEditor_TD[3]);
SendClientMessage(playerid, COLOR_BLUE, "Ai primit ca bonus 100.000$.");
GivePlayerCash(playerid, 100000);
CancelSelectTextDraw(playerid);
}
if(clickedid == TDEditor_TD[2])
}
TextDrawHideForPlayer(playerid, TDEditor_TD[0]);
TextDrawHideForPlayer(playerid, TDEditor_TD[1]);
TextDrawHideForPlayer(playerid, TDEditor_TD[2]);
TextDrawHideForPlayer(playerid, TDEditor_TD[3]);
CancelSelectTextDraw(playerid);
}
return 1;
}
CE ESTE GRESIT?
Link to comment
Share on other sites
5 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.