SA-MP Forums Archive
Need Help! - 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: Need Help! (/showthread.php?tid=622665)



Need Help! - adri[4]Life - 25.11.2016

hi guys,
i used Jarnu s Capture zones editor it's named Advanced Capture zone creator to make a capture zone so first thing i typed /save in the place which i choose it to be the check point then i opened Xtreme Vehicle Plotter so i select the Gang zone finally i put the saved position 287,-1212.2344,1831.7878,41.9297,228.5542,0,0,0,0,0,0 in "put your checkpoint co-ordinate here" and i put the gang zone -1249,533, 1775,037, -1179,465, 1856,782 in "put your gang zone co ordinate here" then i named it Cluckin'bell finally i copyed script in to the game mode i compile it errors :
Код:
Desktop\call of duty bo3\gamemodes\codww.pwn(4968) : error 035: argument type mismatch (argument 1)
Desktop\call of duty bo3\gamemodes\codww.pwn(4969) : error 035: argument type mismatch (argument 1)
Desktop\call of duty bo3\gamemodes\codww.pwn(6541) : error 017: undefined symbol "LeavingClucking"
Desktop\call of duty bo3\gamemodes\codww.pwn(6541) : warning 215: expression has no effect
Desktop\call of duty bo3\gamemodes\codww.pwn(6541) : error 001: expected token: ";", but found "-identifier-"
Desktop\call of duty bo3\gamemodes\codww.pwn(6541) : error 017: undefined symbol "ell"
Desktop\call of duty bo3\gamemodes\codww.pwn(6541) : fatal error 107: too many error messages on one line
Line 4968 " CP[Cluckin'Bell] = CreateDynamicCP("287,-1212.2344,1831.7878,41.9297,228.5542,0,0,0,0,0,0") ;"
Line 4969 " Zone[Cluckin'Bell] = GangZoneCreate("-1249,533, 1775,037, -1179,465, 1856,782");"
line 6541 " LeavingCluckin'Bell(playerid);"


Re: Need Help! - aymane123 - 25.11.2016

Bro i am sorry because i cant help u but type your errors like this:
Код:
Your Logg
Use BBc codes () just to make peapole read your errors more easier !!


Re: Need Help! - adri[4]Life - 25.11.2016

Quote:
Originally Posted by aymane123
Посмотреть сообщение
Bro i am sorry because i cant help u but type your errors like this:
Код:
Your Logg
Use BBc codes () just to make peapole read your errors more easier !!
done thnx


Re: Need Help! - aymane123 - 25.11.2016

No Problem .


Re: Need Help! - Pokemon64 - 25.11.2016

I'm pretty sure you doesn't create variables


Re: Need Help! - adri[4]Life - 25.11.2016

When i type /save my position + weapons + skin ... will be saved so to create Check point i only need Position but i copy-ed all Can someone tell me which numbers i should put ? from this 287,-1212.2344,1831.7878,41.9297,228.5542,0,0,0,0,0,0


Re: Need Help! - aymane123 - 25.11.2016

Hmm so you need just the position ??
the position is:
Код:
-1212.2344,1831.7878,41.9297
the last 0,0,0,0, its for the weapon and for the ammo.
287 its for the skin id .
Hope i Helped u.


Re: Need Help! - adri[4]Life - 25.11.2016

Quote:
Originally Posted by aymane123
Посмотреть сообщение
Hmm so you need just the position ??
the position is:
Код:
-1212.2344,1831.7878,41.9297
the last 0,0,0,0, its for the weapon and for the ammo.
287 its for the skin id .
Hope i Helped u.
thnx again dude Line 4968 is fixed

Код:
C:\Users\ACER\Desktop\call of duty bo3\gamemodes\codww.pwn(4969) : warning 202: number of arguments does not match definition
C:\Users\ACER\Desktop\call of duty bo3\gamemodes\codww.pwn(4969) : warning 202: number of arguments does not match definition
C:\Users\ACER\Desktop\call of duty bo3\gamemodes\codww.pwn(4969) : warning 202: number of arguments does not match definition
C:\Users\ACER\Desktop\call of duty bo3\gamemodes\codww.pwn(4969) : warning 202: number of arguments does not match definition
C:\Users\ACER\Desktop\call of duty bo3\gamemodes\codww.pwn(6541) : error 017: undefined symbol "LeavingClucking"
C:\Users\ACER\Desktop\call of duty bo3\gamemodes\codww.pwn(6541) : warning 215: expression has no effect
C:\Users\ACER\Desktop\call of duty bo3\gamemodes\codww.pwn(6541) : error 001: expected token: ";", but found "-identifier-"
C:\Users\ACER\Desktop\call of duty bo3\gamemodes\codww.pwn(6541) : error 017: undefined symbol "ell"
C:\Users\ACER\Desktop\call of duty bo3\gamemodes\codww.pwn(6541) : fatal error 107: too many error messages on one line



Re: Need Help! - aymane123 - 25.11.2016

And For This:
Код:
Desktop\call of duty bo3\gamemodes\codww.pwn(6541) : error 017: undefined symbol "LeavingClucking"
I Think u must add:
Код:
#define LeavingClucking
Below Your Defines Lines.


Re: Need Help! - adri[4]Life - 25.11.2016

Quote:
Originally Posted by aymane123
Посмотреть сообщение
And For This:
Код:
Desktop\call of duty bo3\gamemodes\codww.pwn(6541) : error 017: undefined symbol "LeavingClucking"
I Think u must add:
Код:
#define LeavingClucking
Below Your Defines Lines.
i checked the other capture zones but it has llike LeavingClukin'Bell example :
Код:
	if(Captured[playerid][EAR] == 0 && IsPlayerCapturing[playerid][EAR] == 1)
	{
		LeavingEar(playerid);
	}
	if(Captured[playerid][Cluckin'Bell] == 0 && IsPlayerCapturing[playerid][Cluckin'Bell] == 1)
    {
		LeavingClucking'Bell(playerid);
	}