SA-MP Forums Archive
Adding mapping Error [+REP to who fixes it] - 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: Adding mapping Error [+REP to who fixes it] (/showthread.php?tid=519305)



Adding mapping Error [+REP to who fixes it] - Jigsaw123 - 13.06.2014

When i add mapping this is what i do:

Код:
public OnGameModeInIt()
      CreateDynamicObject (..);
      CreateDynamicObject (..);
Код:
public OnPlayerConnect (playerid)
Remove..(..);
Remove..(..);
When i compile my pawno crashes, Help?!


Re: Adding mapping Error [+REP to who fixes it] - alanhutch - 13.06.2014

Post a little part of the codes on CreateDynamicObject...
Are you sure you have closed all the braces correctly in all the GameMode?


Re: Adding mapping Error [+REP to who fixes it] - Lynn - 13.06.2014

pawn Код:
public OnGameModeInt()
{
    CreateDynamicObject(3409, X, Y, Z, rX, rY, rZ, ObjectVW, ObjectInt);
    return 1;
}
public OnPlayerConnect(playerid)
{
    RemoveBuildingForPlayer(playerid, ModelID, X, Y, Z, Radius);
    return 1;
}