Lol please help
#3

Second way:
1. Check all the time if player is using this key, for example, KEY_FIRE (likely to be ctrl), keys differ onfoot/invehicle
Forkilling=SetTimer("Function'sName", from 200 till 500, Repeat most likely 1);
pawn Код:
public FunctionsName(playerid, keys, updown, leftright)
{
    new keys, updown, leftright;
    GetPlayerKeys(playerid, keys, updown, leftright);
    if(keys&KEY_FIRE) OR if(keys==KEY_FIRE)
    {
        //ToDo
        if(DoneAll) KillTimer(Forkilling);
    }
}
Reply


Messages In This Thread
Lol please help - by bartje01 - 24.08.2010, 14:02
Re: Lol please help - by [XST]O_x - 24.08.2010, 14:09
Re: Lol please help - by RSX - 24.08.2010, 14:10
Re: Lol please help - by Dime - 24.08.2010, 14:10
Re: Lol please help - by bartje01 - 24.08.2010, 14:11

Forum Jump:


Users browsing this thread: 1 Guest(s)