Spawn button
#1

So the whole idea of mine was to disable the spawn button from functioning if the player presses ESC to close up the login/register dialog once he joins.I've seen that its possible to actually prevent spawn button in class selection from functioning but, i can't find the right thread that solves this question of mine.Could i get a possible example on how to do this?
Reply
#2

TogglePlayerSpectate(playerid, 1) hide the spawn button
Reply
#3

Quote:
Originally Posted by Shinja
Посмотреть сообщение
TogglePlayerSpectate(playerid, 1) hide the spawn button
I expected someone to say this.No, without hiding spawn button.
Reply
#4

return 0; OnPlayerRequestClass ?
Reply
#5

Quote:
Originally Posted by Shinja
Посмотреть сообщение
return 0; OnPlayerRequestClass ?
I'll give it a try tomorrow, but even by thinking about it this might work
Reply
#6

return 0; worked, +rep. @Shinja
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)