Posts: 303
Threads: 27
Joined: Aug 2013
Reputation:
0
Add them under Onplayerconnect, it looks like you're adding them out of any callback
Posts: 14
Threads: 1
Joined: Jun 2014
Reputation:
0
Add ' RemoveBuildingForPlayer ' in OnPlayerConnect, not in OnGameModeInit or OnFilterScriptInit .
Posts: 22
Threads: 2
Joined: Jun 2012
Reputation:
0
Your problem is basicly a misplaced mapping problem.
How to fix it ?
1 - Select all the lines of the mapping you have added in.
2 - Cut them.
3 - Search for OnPlayerConnect in the script
4 - Paste the lines you have cut earlier on a blank space in the OnPlayerConnect
5 - Re-compile, the mapping should be fixed and added in.
If you need more help, add me on skype : Kelzano (I'm the tiger picture)
If I helped you, please rep+.
Posts: 6,242
Threads: 8
Joined: Jun 2008
27.11.2014, 06:29
(
Последний раз редактировалось Sew_Sumi; 27.11.2014 в 07:14.
)
Quote:
Originally Posted by Seaf
how retype code please
|
Код:
public OnGameModeInit
{
Put your code in here...
}