[HELP] Class Selection Problem
#1

Hello. I have got a little problem with the class selection which really pisses me off.

Okay, well there is the problem. I add skins to be used and it's okay, but it shows CJ skin in class selection, I am like "wtf?". I go check the script and there is no script that addes CJ ANYWHERE. It just shows CJ in the class selection in first place.

I tried to change and delete every shit, CJ stills showing up in class selection. When I spawn with CJ class I appear in Blueberry farms.

if anyone can help me to fix this problem I'd be pleased.

Regards
Reply
#2

show me your OnPlayerSpawn callback and your ongamemodeinit callback
Reply
#3

Код:
public OnGameModeInit()
{
	SetGameModeText("dG-TDM");
	return 1;
}
Код:
public OnPlayerSpawn(playerid)
{
   	PlayerInfo[playerid][SpawnAngle] = 0.0;
  	PlayerInfo[playerid][SpawnDance] = true;
	KillTimer( PlayerInfo[playerid][SpawnTimer] );
	PlayerPlaySound(playerid, 1186, 0.0, 0.0, 0.0);
 	SetCameraBehindPlayer(playerid);
	return 1;
}
Shouldn't I show you OnPlayerRequestClass?
Reply
#4

You have no player class added under your OnGameModeInit...
You have to add this :

AddPlayerClass(classid, coords of spawn, list of guns);

Also this seems like copy/paste from another script
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)