SA-MP Forums Archive
Delete textdraw << >> Spawn - 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: Delete textdraw << >> Spawn (/showthread.php?tid=581250)



Delete textdraw << >> Spawn - Sn4ke2 - 11.07.2015

hello guys, someone know how to delete this ?




Re: Delete textdraw << >> Spawn - Sime30 - 11.07.2015

Use TogglePlayerSpectating



Under OnPlayerConnect

TogglePlayerSpectating(playerid, 1);





Under OnPlayerSpawn

TogglePlayerSpectating(playerid, 0);


Re: Delete textdraw << >> Spawn - Sn4ke2 - 11.07.2015

Not work.


Re: Delete textdraw << >> Spawn - JaydenJason - 11.07.2015

Spawn the player once they connect, force them into spectating mode and from there on do your thing.


Re: Delete textdraw << >> Spawn - SecretBoss - 11.07.2015

Quote:
Originally Posted by Sime30
Посмотреть сообщение
Use TogglePlayerSpectating



Under OnPlayerConnect

TogglePlayerSpectating(playerid, 1);





Under OnPlayerSpawn

TogglePlayerSpectating(playerid, 0);
This is the only way to disable that buttons and its working perfectly


Re: Delete textdraw << >> Spawn - Sn4ke2 - 12.07.2015

ok. then i will try again.


Re: Delete textdraw << >> Spawn - M0HAMMAD - 12.07.2015

use SetSpawnInfo on OnPlayerRequestClass to if player connnect and want to go on Request Class Quickly spawn !
if use F4 For Go Will be spawn.
use wiki samp for more info about SetSpawnInfo !


Re: Delete textdraw << >> Spawn - Jakwob - 12.07.2015

Quote:
Originally Posted by M0HAMMAD
Посмотреть сообщение
use SetSpawnInfo on OnPlayerRequestClass to if player connnect and want to go on Request Class Quickly spawn !
if use F4 For Go Will be spawn.
use wiki samp for more info about SetSpawnInfo !
This one else should work SpawnPlayer under OnRequestClass


Re: Delete textdraw << >> Spawn - kyriakos587 - 12.07.2015

public OnPlayerRequestClass(playerid, classid)
{
SpawnPlayer(playerid);//Here skip this buttons
return 1;
}

public OnPlayerRequestSpawn(playerid)
{
SetPlayerSkin(playerid,random(305));//Here when someone spawn, it will give him random skin from 0 to 305
return 1;
}


Re: Delete textdraw << >> Spawn - s4kuL - 12.07.2015

OnPlayerConnect:
SetSpawnInfo(playerid, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0);

OnPlayerRequestClass
SetSpawnInfo(playerid, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0);
SpawnPlayer(playerid);