Author Topic: First Person playertype only?  (Read 791 times)

What would be the correct code to do this?
Thank you

That's pretty easy.
Code: [Select]

datablock PlayerData(PlayerFirstPerson : PlayerStandardArmor)
{
canjet=0; // I don't know, you decide. 1=yes, 0 = no
firstPersonOnly= 1;
uiName = "First Person Playertype";
};
You could've looked in MtnDew's Lego Island player, too.
« Last Edit: August 16, 2009, 09:32:57 AM by trumpetfan »

That's pretty easy.
Code: [Select]

datablock PlayerData(PlayerFirstPerson : PlayerStandardArmor)
{
canjet=0; // I don't know, you decide. 1=yes, 0 = no
firstPersonOnly= 1
uiName = "First Person Playertype";
};
You could've looked in MtnDew's Lego Island player, too.
It helps when the code works.

It helps when the code works.
This wouldn't work right?

Explain how, I'm new to coding, and I just thought making a player would be easy.

You missed a semicolon.


ITT: the blind leading the blind and then flying headcrabs.

You missed a semicolon.
Damn I always miss the semi colons.

Damn I always miss the semi colons.

Me too! :O We're like brothers!!!  :cookieMonster: Lol.

we already have 1 its in the rtb mod manager