SA-MP Forums Archive
Include help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Include help (/showthread.php?tid=659565)



Include help - KamilPolska - 07.10.2018

Include?
Код:
Skin_Selection::Init();
Skin_Selection::Setup(i);



Re: Include help - KamilPolska - 07.10.2018

With gamemode GodFather Polish. After the tutorial, we him to move to choose a selection skin.

Код:
public OnGameModeInit()
{
    NewSelector::Init();
    return 1;
}
Код:
else if(TutTime[i] == 125)
{
	TutTime[i] = 0; PlayerInfo[i][pTut] = 1;
	gOoc[i] = 0; gNews[i] = 0; gFam[i] = 0;
	TogglePlayerControllable(i, 1);
	MedicBill[i] = 0;
	SetPlayerSpawn(i);

	SetPlayerSpawn(i);
	SpawnPlayer(i);

	SetPVarInt(i, "ChoosingTheFirst", 1);

	SetPlayerCameraPos(i, 206.288314, -38.114028, 1002.229675);
	SetPlayerCameraLookAt(i, 208.775955, -34.981678, 1001.929687);

	NewSelector::Setup(i);

	SetPlayerCameraPos(i, 206.288314, -38.114028, 1002.229675);
	SetPlayerCameraLookAt(i, 208.775955, -34.981678, 1001.929687);
}



Re: Include help - KinderClans - 07.10.2018

I'll NEVER understand why some people like using difficult and silly variable names.

Quote:

NewSelector::Init();

What the hell even means?

Meh.


Re: Include help - Lokii - 07.10.2018

Quote:
Originally Posted by KamilPolska
Посмотреть сообщение
Include?
Код:
Skin_Selection::Init();
Skin_Selection::Setup(i);
Looks like c++ not pawn