SA-MP Forums Archive
*** Terrible Title Removed - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: *** Terrible Title Removed (/showthread.php?tid=387658)



Problem With Map - virusa1 - 25.10.2012

deleted


Re: Problem - Catalyst- - 25.10.2012

Change "Createobject" to "CreateObject"


Re: Problem - virusa1 - 25.10.2012

hm ok let me try


Re: Problem - Catalyst- - 25.10.2012

If they're not in any callback, then make sure to put them inside of one.
Here's an example:
pawn Код:
public OnFilterScriptInit()
{
     CreateObject(...);
     CreateObject(...);
     CreateObject(...);
     return 1;
}



Re: *** Terrible Title Removed - virusa1 - 25.10.2012

sorry i didnt understand it what i should do?


Re: *** Terrible Title Removed - Catalyst- - 25.10.2012

Copy all of your "CreateObject" code, and put them inside:
pawn Код:
public OnFilterScriptInit()
{
     return 1;
}



Re: *** Terrible Title Removed - virusa1 - 25.10.2012

again the same problem ufff!


Re: *** Terrible Title Removed - Catalyst- - 25.10.2012

Same errors or different errors? Did you change "CreateObject" back to "Createobject"?
Also, the below should go under "public OnPlayerConnect(playerid)"
pawn Код:
RemoveBuildingForPlayer(playerid, 4984, 1880.7109, -2112.6328, 21.2578, 0.25);