Help | Can I add a textdraw on a specific teleport?
#3

Quote:
Originally Posted by GameOvr
Посмотреть сообщение
Your codes will give compile errors, first goto your td editor again and make your cvctd4 td as player textdraw(currently your td is a public one which means changes of it(show,hide) will affect for everyone not only for the relevent player [there will be a button called PUBLIC to PER PALYER in your td editor simply click that and export]) also make your training td as a player td

Now follow this
Код:
//put this at the top of the script
new PlayerText:cvctd47MAX_PLAYERS];

//now put the gain codes by exporting under on player connect(td creates)

//Then put your code under onplayer command text
f(!strcmp(cmdtext, "/Training", true))
{
TextDrawHideForPlayer(playerid,cvctd4[playerid]);
TextDrawShowForPlayer(playerid,Training[playerid]);
}
if(!strcmp(cmdtext, "/LeaveTraining", true))
{
TextDrawShowForPlayer(playerid,cvctd4[playerid]);
TextDrawHideForPlayer(playerid,Training[playerid]);
}

//Now it will work
do the same procedure for the Training[payerid] td
+ REP me if it was helpful
Yep ! Thanks alot
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)