bandana
#9

Quote:
Originally Posted by MarvinPWN
Посмотреть сообщение
PHP код:
#define HOLDING(%0) \
    
((newkeys & (%0)) == (%0))
    
if(
HOLDING(KEY_HANDBRAKE))
{
    
//Remove the bandana
}
else
{
    
//create the bandana again


You can remove the bandana if you holding the right mouse button and create it again if you don't press it.
I don't know if you have to use HOLDING or PRESSED.
Thank you! but you are in trouble, help me?

Код:
C:\Users\2\Desktop\gamemode\gamemodes\w.pwn(11750) : error 017: undefined symbol "newkeys"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Errors.
PHP код:
public OnPlayerUpdate(playerid)
{
        if (
HOLDING(KEY_HANDBRAKE)) RemovePlayerAttachedObject(playerid7); //error 017
        
else
        {
            
SetPlayerAttachedObject(playerid7, ......
        }

Reply


Messages In This Thread
bandana - by JoshNudock - 27.08.2015, 15:27
Re: bandana - by SpikY_ - 27.08.2015, 15:46
Re: bandana - by Michael B - 27.08.2015, 15:49
Respuesta: bandana - by JoshNudock - 27.08.2015, 16:24
Respuesta: bandana - by JoshNudock - 27.08.2015, 17:13
Re: bandana - by nezo2001 - 27.08.2015, 17:24
Re: bandana - by SpikY_ - 27.08.2015, 17:31
Re: bandana - by MarvinPWN - 27.08.2015, 17:35
Respuesta: Re: bandana - by JoshNudock - 27.08.2015, 18:02
Re: bandana - by MarvinPWN - 27.08.2015, 19:32

Forum Jump:


Users browsing this thread: 1 Guest(s)