RemoveBuildingForPlayer doesn't work for me :c
#1

i was mapping using map editor....i removed all building at the Angel Pine in order to create a new map for my server, after i remove and create objects, then i put it into a .pwn and then compile it, i put CreateObject at the OnFilterScriptInit, and the RemoveBuildingForPlayer at the OnPlayerConnect, the objects created well but RemoveBuildingForPlayer doesn't work! It doesn't remove any building from the server.......... D: somebody here pls help me...

** sorry if my English is bad c: **
Reply
#2

Try RemoveBuildingForPlayer in FilterscriptInit ?!
Reply
#3

try putting it under gamemodeinit in your gamemode scripts and see if it works!?
Reply
#4

Try FilterscriptInit or GamemodeInit !?!
Reply
#5

You all are stupid, tbh.
There is no parameter "playerid" In OnGameModeInit or OnFilterscriptInit
Reply
#6

It should work if you put it under OnPlayerConnect.
Reply
#7

put removebuilding code under OnPlayerConnect in Game Mode script
Reply
#8

Quote:
Originally Posted by BroZeus
Посмотреть сообщение
put removebuilding code under OnPlayerConnect in Game Mode script
Thanks! xD
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)