getting error
#5

Totally! Put CreateObject and / or CreateDynamicObject inside OnGameModeInit

PHP код:
public OnGameModeInit()
{
       
//CreateDynamicObject(blah, blah, blah....);
       //CreateObject(blah, blah, blah...);
       
return 1;

And RemoveBuildingForPlayer on OnPlayerConnect since OnGameModeInit doesn't have any ( playerid ) parameters.

PHP код:
public OnPlayerConnect(playerid)
{
       
//RemoveBuildingForPlayer(playerid, blah, blah, blah....);
       
return 1;

Reply


Messages In This Thread
getting error - by Advait - 05.04.2017, 06:45
Re: getting error - by Sjn - 05.04.2017, 06:50
Re: getting error - by Advait - 05.04.2017, 06:53
Re: getting error - by Sjn - 05.04.2017, 07:00
Re: getting error - by NealPeteros - 05.04.2017, 07:10

Forum Jump:


Users browsing this thread: 1 Guest(s)