how do I get rid of this
#1

http://i1240.photobucket.com/albums/.../sa-mp-034.png The thing at the bottom?
Reply
#2

The game mode is not compiled properly thats why Game mode is not loading properly
Reply
#3

no ignore that blure thing in the right conor i wanna get rid of that spawn thing at the bottom
Reply
#4

pawn Код:
//to hide UI
TogglePlayerSpectating(playerid, true);
//to show UI
TogglePlayerSpectating(playerid, false);
Reply
#5

where at
Reply
#6

OnPlayerConnect

TogglePlayerSpectating(playerid, true);

and when you want to show it

TogglePlayerSpectating(playerid, false);
Reply
#7

Now I cant play my gamemode, like i want it to were it plays right when you log in
Reply
#8

Quote:
Originally Posted by Michael_Cuellar
Посмотреть сообщение
Now I cant play my gamemode, like i want it to were it plays right when you log in
well you will have to click on that button then, I don't think that it will kill you or any of your players.. its just 1 sec to "waste"...
Reply
#9

make this:

pawn Код:
OnPlayerConnect(playerid){
TogglePlayerSpectating(playerid, true);
SetTimerEx("SpawnPlayer", 100, false, "i", playerid);
}

//put this at the bottom of your script or somewhere
forward SpawnPlayer(playerid);
public SpawnPlayer(playerid){
SpawnPlayer(playerid);
TogglePlayerSpectating(playerid, false);
}
That should make so when a player connect you set them spectating and in 0.1 second they'll get spawned and unspectating, tell if it's not working.

Hope I helped
Reply
#10

compile your gamemode correctly
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)