02.10.2018, 13:49
Hello guys. I am wondering if it is possible to make it ^.
I've made a teleport called - /Training in my server.
DeathMatch server btw. I have some textdraws when playerconnect:
Now, when player's enter "/Training". i want cvctd4 textdraw to get disabled "Hide".
can I just do: HideTextDrawForPlayer? when hes on Training Teleport? And to make a new one if he's on Training Teleport? should i do:
Might work?
I've made a teleport called - /Training in my server.
DeathMatch server btw. I have some textdraws when playerconnect:
Quote:
cvctd4 = TextDrawCreate(10.0, 434.5, "Achieve DeathMatch Community [V0.2]"); TextDrawLetterSize(cvctd4, 0.400000, 1.600000); TextDrawUseBox(cvctd4, true); TextDrawFont(cvctd4,1); TextDrawColor(cvctd4,0x46BBAA00); TextDrawBoxColor(cvctd4, 3); TextDrawBackgroundColor(cvctd4, 126); TextDrawUseBox(cvctd4, true); |
can I just do: HideTextDrawForPlayer? when hes on Training Teleport? And to make a new one if he's on Training Teleport? should i do:
Quote:
if(!strcmp(cmdtext, "/Training", true)) { TextDrawHideForPlayer(playerid,cvctd4[playerid]); TextDrawShowForPlayer(playerid,Training[playerid]); } |
Quote:
if(!strcmp(cmdtext, "/LeaveTraining", true)) { TextDrawShowForPlayer(playerid,cvctd4[playerid]); TextDrawHideForPlayer(playerid,Training[playerid]); } |