SA-MP Forums Archive
how to fix - 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: how to fix (/showthread.php?tid=511191)



how to fix - Salman1700 - 04.05.2014

Код:
C:\Users\munawar khan\Downloads\Desktop\Rebel_Gaming_-_Stunting_Server\gamemodes\Freeroam.pwn(34) : warning 201: redefinition of constant/macro (symbol "A7")
C:\Users\munawar khan\Downloads\Desktop\Rebel_Gaming_-_Stunting_Server\gamemodes\Freeroam.pwn(208) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Warnings.
please need fix



edit:how can i remove pic when im spawning


Re: how to fix - WorldPro - 04.05.2014

Quote:
Originally Posted by Salman1700
Посмотреть сообщение
Код:
C:\Users\munawar khan\Downloads\Desktop\Rebel_Gaming_-_Stunting_Server\gamemodes\Freeroam.pwn(34) : warning 201: redefinition of constant/macro (symbol "A7")
C:\Users\munawar khan\Downloads\Desktop\Rebel_Gaming_-_Stunting_Server\gamemodes\Freeroam.pwn(208) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Warnings.
please need fix



edit:how can i remove pic when im spawning
show us your lines -_-

and wtf is "how can i remove pic when im spawning" ? :S


Re: how to fix - Salman1700 - 04.05.2014

which line


Re: how to fix - Cena44 - 04.05.2014

Line 34 and line 208. And probably the ones around them as well.


Re: how to fix - Salman1700 - 04.05.2014

Код:
#define A7 28 //
Код:
	UsePlayerPedAnims(true);



Re: how to fix - Cena44 - 04.05.2014

Quote:
Originally Posted by Salman1700
Посмотреть сообщение
Код:
#define A7 28 //
Код:
	UsePlayerPedAnims(true);
pawn Код:
UsePlayerPedAnims();



Re: how to fix - [WSF]ThA_Devil - 04.05.2014

I do not suggest you defining it that way, because A7 can be used in colors as hexadecimal value.


Re: how to fix - Salman1700 - 04.05.2014

how to fix C:\Users\munawar khan\Downloads\Desktop\Rebel_Gaming_-_Stunting_Server\gamemodes\Freeroam.pwn(34) : warning 201: redefinition of constant/macro (symbol "A7")
C:\Users\munawar khan\Downloads\Desktop\Rebel_Gaming_-_Stunting_Server\gamemodes\Freeroam.pwn(209) : error 001: expected token: ";", but found "-identifier-"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.


Re: how to fix - [WSF]ThA_Devil - 04.05.2014

UsePlayerPedAnims();
you forgot semicolon.


Re: how to fix - Salman1700 - 04.05.2014

Thanks guys im fixing how to remove the spawn pic