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



Little Help - Fletcher007 - 19.01.2018

(5433) : error 017: undefined symbol "GetWeaponSlot"
(5433) : error 001: expected token: ";", but found ")"
(5433) : error 029: invalid expression, assumed zero
(5433) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
Код:
	    if(response)
	    {
	                new weap = GetWeaponSlot(GetPlayerWeapon(playerid));
			new t = strval(inputtext);
			new s = PlayerInfo[playerid][pPhousekey];



Re: Little Help - Kaperstone - 19.01.2018

It means you don't have the function "GetWeaponSlot"


Either that, or post that function.


Re: Little Help - Fletcher007 - 19.01.2018

Thanks ^