Little Help here - 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: Little Help here (
/showthread.php?tid=587362)
Little Help here -
Trollerz - 30.08.2015
Hey guys
Код:
C:\Users\Administrator\Desktop\Ahad AMan\gamemodes\working.pwn(256) : error 017: undefined symbol "CP_tatoo"
C:\Users\Administrator\Desktop\Ahad AMan\gamemodes\working.pwn(256) : error 017: undefined symbol "CreateDynamicCP"
C:\Users\Administrator\Desktop\Ahad AMan\gamemodes\working.pwn(256) : warning 215: expression has no effect
C:\Users\Administrator\Desktop\Ahad AMan\gamemodes\working.pwn(256) : error 001: expected token: ";", but found ")"
C:\Users\Administrator\Desktop\Ahad AMan\gamemodes\working.pwn(256) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
PHP код:
CP_tatoo = CreateDynamicCP(-201.2237,-42.7339,1002.2734, 2.0, .interiorid = 3); // creating the checkpoint CP_tatoo
I added the variable did everything but still
Re: Little Help here -
jlalt - 30.08.2015
you miss to put Streamer include and
new CP_tatoo;
your code would be like:
PHP код:
#include a_samp
#include streamer
new CP_tatoo;
public OnGameModeInit()
{
CP_tatoo = CreateDynamicCP(-201.2237,-42.7339,1002.2734, 2.0, .interiorid = 3);
return 1;
}