20.08.2015, 07:19
you got the controllable on Command ?
example
blah blah I showed you the codes that show rules / help on my gamemode
try remove dat
example
blah blah I showed you the codes that show rules / help on my gamemode
pawn Код:
public OnPlayerClickTextDraw(playerid, Text:clickedid)
{
if(clickedid == CLOSE[1])
{
/*************SERVER RULES***************/
for(new i = 0;i<90;i++)
{
TextDrawHideForPlayer(playerid, CLOSE[1]);
CancelSelectTextDraw(playerid);
TextDrawHideForPlayer(playerid, RULES[i]);
}
}
else if(clickedid == CLOSE[2])
{
/*************SERVER HELP***************/
for(new i = 0;i<90;i++)
{
TextDrawHideForPlayer(playerid, CLOSE[2]);
CancelSelectTextDraw(playerid);
TextDrawHideForPlayer(playerid, HELP[i]);
}
}
return 1;
}
pawn Код:
if(_:clickedid == INVALID_TEXT_DRAW)
{
for(new i; i<13; i++) TextDrawHideForPlayer(playerid, Undercover_TD[i]);
return 1;
}