SA-MP Forums Archive
Some Issues. - 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: Some Issues. (/showthread.php?tid=569464)



Some Issues. - VictorCreed - 30.03.2015

Код:
gamemodes\new.pwn(21255) : error 012: invalid function call, not a valid address
gamemodes\new.pwn(21255) : warning 215: expression has no effect
gamemodes\new.pwn(21255) : error 001: expected token: ";", but found ")"
gamemodes\new.pwn(21255) : error 029: invalid expression, assumed zero
gamemodes\new.pwn(21255) : fatal error 107: too many error messages on one line
PHP код:
21250    gettime(ghourgminutegsecond);
21251    if(!realtime)
21252    {
21253        SetWorldTime(wtime);
21254    }
21255    SetPDistance(10);
21256    AllowInteriorWeapons(1);
21257    AllowAdminTeleport(0);
21258    DisableInteriorEnterExits();
21259    EnableStuntBonusForAll(0); 
Umm, so I can't find what's wrong with this line. I'm sort of a beginner to scripting, these lines are under "public OnPlayerEnterDynamicCP(playerid, checkpointid)". Thanks for your assistance


Re: Some Issues. - CalvinC - 31.03.2015

Show your SetPDistance function.