Spawn Screen wont go away
#1

How do i go about getting rid of the spawn selection after death i mean the screen that comes up [<<] [>>] [SPAWN] Because i have to press spawn before my hospital code runs =S
Reply
#2

I think if you return 1 in OnPlayerRequestClass, player won't get into class selection after death.
Reply
#3

its already 1 i tried deleting everything in it and leaving just the 1 that doesnt work and i also tried setting it to 0 that didnt work either any more ideas?
Reply
#4

PHP код:
new bool:Spawned[MAX_PLAYERS char] = {false, ...};
// OnPlayerConnect
Spawned {playerid} = false;
// OnPlayerSpawn
if(!Spawned {playerid}) Spawned {playerid} = true;
// OnPlayerRequestClass
if(Spawned {playerid}) TogglePlayerSpectating(playerid1); 
Reply
#5

what do i put after false where yu have put ={false, ...};

Reply
#6

You must have some filterscript returning 0. Go through all the filterscripts you use and check it out.
Reply
#7

i dont have a single filterscript. ive coded all myself.
Reply
#8

This: new bool:Spawned[MAX_PLAYERS char] = {false, ...}; you put under #include <a_samp>
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)