SA-MP Forums Archive
Help.. Space to stop animations textdraw - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help.. Space to stop animations textdraw (/showthread.php?tid=649788)



Help.. Space to stop animations textdraw - ColdBrain - 15.02.2018

Well when i connect to my gm and i spawn it show in right bottom corner this texture wish is annoying but i player can remove it by using dance or lay then press space .also i try clearanimations and nothing work


Re: Help.. Space to stop animations textdraw - Davidmkd123 - 15.02.2018

Try it with if() at the place where they cannot use the dance command.
Eg.
Код:
new forbiddance[MAX_PLAYERS];
OnPlayerSpawn(playerid);
{
forbiddance[playerid] = 1;
return 1;
}
And when the action is finished, put it on 0 again whatever if its done with timer or not.

Код:
forbiddance[playerid] = 0;



Re: Help.. Space to stop animations textdraw - Davidmkd123 - 15.02.2018

Or..your dance command is made by special action, thats why you can skip it with key.

Try to add another dance animation and add loop in it.


Re: Help.. Space to stop animations textdraw - ColdBrain - 15.02.2018

Hmm i just gived a example i might textdraw show in player connect but you can solve it if you use one of /anims


Re: Help.. Space to stop animations textdraw - ColdBrain - 15.02.2018

Plus where i can find this ? I mean /lay ./dance ./crack .....
And dance command is auto meanwhile its npt from my gm


Re: Help.. Space to stop animations textdraw - PepsiCola23 - 15.02.2018

what is this thread?you didnt explain anything.

please explain better and give some codes.


Re: Help.. Space to stop animations textdraw - ColdBrain - 16.02.2018

When i log or any player i get a textdraw "Space to stop animations" however i haven't anim commands in my gm plus clearanim didn't work