06.05.2011, 16:32
(
Last edited by On_Top_Non_Stop; 06/05/2011 at 05:05 PM.
)
Sorry to bump an old topic but it was better than making a new one.
A few days ago I wrote up a simple game mode with car spawn and a few teleports just to mess around in.
Every thing was fine when I left the server but the next day I found OnPlayerSpawn was not being called..
I wrote another mode, very simple with nothing but a few cars dotted here and there and again, I have the same problem. I managed to fix it on the first mode, no idea how but I can't on my second mode.
If any one has any idea what might cause it, please let me know.
Here are my coords after spawning.
EDIT: Fixed.
Reproduce: Don't add a player class to your mode (you will get CJ) and press shift as soon as you connect.
Fix: Add player classes lol..
A few days ago I wrote up a simple game mode with car spawn and a few teleports just to mess around in.
Every thing was fine when I left the server but the next day I found OnPlayerSpawn was not being called..
I wrote another mode, very simple with nothing but a few cars dotted here and there and again, I have the same problem. I managed to fix it on the first mode, no idea how but I can't on my second mode.
If any one has any idea what might cause it, please let me know.
Here are my coords after spawning.
pawn Code:
AddPlayerClass(0,17381391569063613000000000.0000,4544820010223581900000000000000.0000,18314355250257052000000000.0000,0.0000,0,0,0,0,0,0); //
AddPlayerClass(0,17381391569063613000000000.0000,4544820010223581900000000000000.0000,18314355250257052000000000.0000,0.0000,0,0,0,0,0,0); // 2
Reproduce: Don't add a player class to your mode (you will get CJ) and press shift as soon as you connect.
Fix: Add player classes lol..