Diretional keys Problem
#2

https://sampwiki.blast.hk/wiki/GetPlayerKeys
pawn Код:
public OnPlayerUpdate(playerid)
{
    new Keys,ud,lr;
    GetPlayerKeys(playerid,Keys,ud,lr);
   
    if(lr > 0)
    {
        if(GetPlayerSelState(playerid) > 0)
        SetPlayerSelectionID(playerid,GetPlayerSelectionID(playerid)+1);
        else
           return 1;
    }
    if(lr < 0)
    {
     //etc
     return 1;
     }
     return 1;
}
Reply


Messages In This Thread
Diretional keys Problem - by CyNiC - 05.09.2010, 16:17
Re: Diretional keys Problem - by [XST]O_x - 05.09.2010, 16:24
Re: Diretional keys Problem - by CyNiC - 05.09.2010, 16:30

Forum Jump:


Users browsing this thread: 1 Guest(s)