SA-MP Forums Archive
Problem [I'LL REP !! ] - 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: Problem [I'LL REP !! ] (/showthread.php?tid=420329)



Problem [I'LL REP !! ] - Jaber_Brown - 04.03.2013

The gamemode works fine, but when I add this
pawn Код:
public OnPlayerRequestClass(playerid)
{
    InterpolateCameraPos(playerid, 2652.221435, 43.546924, 68.585899, 2136.362548, 42.028499, 34.926959, 60000);
    InterpolateCameraLookAt(playerid, 2648.556640, 43.464473, 66.985389, 2132.563232, 42.066158, 33.676406, 60000);
It compiles fine, but when i start the gamemode i get this

Run time error 19: "File or function is not found"


Re: Problem [I'LL REP !! ] - The God - 04.03.2013

pawn Код:
public OnPlayerRequestClass(playerid)
{
    InterpolateCameraPos(playerid, 2652.221435, 43.546924, 68.585899, 2136.362548, 42.028499, 34.926959, 60000);
    InterpolateCameraLookAt(playerid, 2648.556640, 43.464473, 66.985389, 2132.563232, 42.066158, 33.676406, 60000);
}
Forgot the closing brace.


Re: Problem [I'LL REP !! ] - iFear - 04.03.2013

pawn Код:
public OnPlayerRequestClass(playerid)
{
    InterpolateCameraPos(playerid, 2652.221435, 43.546924, 68.585899, 2136.362548, 42.028499, 34.926959, 60000);
    InterpolateCameraLookAt(playerid, 2648.556640, 43.464473, 66.985389, 2132.563232, 42.066158, 33.676406, 60000);
}
Use it.
Hope it helps.


Re: Problem [I'LL REP !! ] - Jaber_Brown - 04.03.2013

Lol i know, I already have them, If i didn't It wouldn't compile, It compiles fine and without errors/warnings but still cant start the server


Re: Problem [I'LL REP !! ] - mamorunl - 04.03.2013

Make sure you have a SA:MP server higher than 0.3e and have recompiled your script with that version


Re: Problem [I'LL REP !! ] - Glad2BeHere - 04.03.2013

Did u put plugins in cfg ?


Re: Problem [I'LL REP !! ] - Jaber_Brown - 04.03.2013

Yes, i got the last server package and I got the plugins in cfg