Getting a few weird bugs with my new roleplay death system
#1

Close this, no help for 20 days.
Reply
#2

Spawned 2 times because first spawn is when you set TogglePlayerSpectating(playerid, false); its the same as SpawnPlayer(playerid); if player was spectacing, just remove SetTimerEx("SpawnPlayerEx", 250, false, "i", playerid);
Reply
#3

Quote:
Originally Posted by Jefff
View Post
Spawned 2 times because first spawn is when you set TogglePlayerSpectating(playerid, false); its the same as SpawnPlayer(playerid); if player was spectacing, just remove SetTimerEx("SpawnPlayerEx", 250, false, "i", playerid);
That would cause me to not spawn at all
Reply
#4

Bump
Reply
#5

Bump
Reply
#6

Bump
Reply
#7

To start off, please try adding this:

pawn Code:
public OnPlayerRequestClass(playerid, classid) return SpawnPlayer(playerid);
public OnPlayerRequestSpawn(playerid) return SpawnPlayer(playerid);
And if some animations do not show, you'll have to preload the animation library.

pawn Code:
PreloadAnimLib(playerid, "index");

stock PreloadAnimLib(playerid, animlib[]) return ApplyAnimation(playerid,animlib,"null",0.0,0,0,0,0,0);
Try the above and see if it fixes the first two bugs or any more. If not, please say so here and I'll look in to it more.
Reply
#8

Quote:
Originally Posted by Mionee
View Post
pawn Code:
public OnPlayerRequestClass(playerid, classid) return SpawnPlayer(playerid);
public OnPlayerRequestSpawn(playerid) return SpawnPlayer(playerid);
This worked for skipping through the class selection, cheers. If there is another way to fix it so the class selection does not appear at all (since it's not supposed to) that would be awesome aswell!

Quote:
Originally Posted by Mionee
View Post
And if some animations do not show, you'll have to preload the animation library.
pawn Code:
PreloadAnimLib(playerid, "index");

stock PreloadAnimLib(playerid, animlib[]) return ApplyAnimation(playerid,animlib,"null",0.0,0,0,0,0,0);
This is what I tried doing at line 136 in the script, nevertheless I tried the above and this did not work either :~(
Reply
#9

Bump
Reply
#10

Bump
Reply
#11

You should stop bumping your thread.
Reply
#12

Quote:
Originally Posted by AzaMx
View Post
You should stop bumping your thread.
Why?
Reply
#13

Bump
Reply
#14

Close this please, nobody seems to know what the problem is.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)