Posts: 62
Threads: 8
Joined: Jul 2010
Reputation:
0
Hello i have a gamemode that has a problem when a player dies the skin gets changed back to CJ and after the first death the class selection does not pop up, so how can i make it so when a player dies the class selection does not happen?
Posts: 62
Threads: 8
Joined: Jul 2010
Reputation:
0
But wouldnt that be the cuase of the problem? if its not there after player death or on player spawn.... (in the code)
Posts: 62
Threads: 8
Joined: Jul 2010
Reputation:
0
Ok, well for a revision of my first post for those who do not undertand, When class selection is shown after a player spawns from a death, their skin changes to CJ... But on the second death the class selection does not popup, and does not change the players skin to CJ. Now i want to know how to make it so that when a player spawns no class selection is shown/available.
Posts: 18
Threads: 2
Joined: Jan 2010
Reputation:
0
Just leave it blank like this for now, test it. Then, starting adding code blocks, if it keeps happening, then something in your "OnPlayerSpawn" is the problem.
public OnPlayerDeath(playerid, killerid, reason)
{
return 1;
}