| Blockland Forums > Modification Help |
| Parent::onSpawn(); Errors |
| << < (2/3) > >> |
| Mawpius:
Anyways, isn't it gameConnection::spawnPlayer? |
| Greek2me:
There's like three things that work: ::createPlayer ::spawnPlayer ::onSpawn |
| Mawpius:
onSpawn didn't work for me. |
| Greek2me:
--- Quote from: Mawpius on October 14, 2011, 07:11:27 PM ---onSpawn didn't work for me. --- End quote --- Never mind then, use spawnPlayer. |
| jes00:
It says the bolded is a syntax error : / --- Quote --- function GameConnection::spawnPlayer(%client); { %this.setEnergyLevel(0); serverCmdDisplay(%this); schedule($DesertMod::Pref::ThirstRate, 0, Thirst, %client); %obj.changedatablock(DesertPlayerArmor); Parent::spawnPlayer(%client); } --- End quote --- |
| Navigation |
| Message Index |
| Next page |
| Previous page |