SA-MP Forums Archive
One error wich SPECIAL - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: One error wich SPECIAL (/showthread.php?tid=169554)



One error wich SPECIAL - Typhome - 20.08.2010

Код:
C:\Program Files\SAMP Server\gamemodes\estprojekt.pwn(3120) : error 017: undefined symbol "SPECIAL_ACTION_PISSING"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Umm... Another gamemode was compiled succesfully with that SPECIAL**.

Код:
	if(strcmp(cmd, "/animpee", true) == 0) {
		SetPlayerSpecialAction(playerid, SPECIAL_ACTION_PISSING);
		return 1;
	}



Re: One error wich SPECIAL - Mr. Despair - 20.08.2010

Well the error says to define it, so wouldn't you do that?


Re: One error wich SPECIAL - willsuckformoney - 20.08.2010

you can

pawn Код:
#define SPECIAL_ACTION_PISSING 68
or

pawn Код:
ApplyAnimation(playerid,"PAULNMAC","Piss_in",4.1,0,1,1,1,1);
pawn Код:
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_PISSING);
the one above ^^ is for if u defined