Player.Weapon:IsPrimary()
return (string.Left(self:GetClass(), 10) == "jb_primary");
[B]end
[/B]
Player.Weapon:IsSecondary()
return (string.Left(self:GetClass(), 12) == "jb_secondary");
end
[highlight](User was banned for this post ("'fix my code'" - Gran PC))[/highlight]
Post the error... and why did you make a new thread
the error is [B]end[/B] ow next time post it in the same trade
We cant fix it without seeing the code itself, we are not psychic
[QUOTE=frietje2008;40122844]Error Pic[/QUOTE]
1st server-side error: Probably calling SetFOV on a non-player entity(?).
Client-side errors: You have an extra end somewhere in the functions.
2nd server-side error: Player.IsPrisoner is nil. Make a function for it.
sv_kickerrornum 0
Put this in your autoexec
Or manualy type in colsole
Should work
missing an end or have too many
Sorry, you need to Log In to post a reply to this thread.