OnPlayerSpawn Bug? OR
#1

Yeah just another problem with my script ( as usual (: )

When ever i go In Game, and pick a skin from the skin class, when ever i click spawn, i spawn, but i saw as the CJ skin, always, so not matter what skin i pick, i will spawn as CJ, i tried to remove the CJ skin from the script, but that didn't do anything, i looked at ' OnPlayerSpawn ' and i couldn't find anything.

Have you got any ideas what this could be?
Reply
#2

Hm, do you use SetPlayerSkin somewhere in your script or in a filterscript? Maybe something is wrong with this then, and it always sets the skin to 0 (cj)
Reply
#3

Yeah i got it in a filter script, its in 'LuX Admin' Script, but not to sure its safe to take it out :/ Any other way i could fix this?
Reply
#4

Do you any classes added on Gamomodeinit ?
Reply
#5

Quote:
Originally Posted by Voldemort
Посмотреть сообщение
Do you any classes added on Gamomodeinit ?
All my classes are on GameModeInit?

pawn Код:
public OnGameModeInit()
{
    SetGameModeText("Fruity DM 1.5");

    ShowPlayerMarkers(1);
    ShowNameTags(1);
    EnableStuntBonusForAll(0);
    UsePlayerPedAnims();

    // Player Class's
    AddPlayerClass(102,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
and it just carry on for the rest of the classes.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)