19.03.2016, 12:01
PHP код:
public Jump0(playerid)
{
SJump[playerid][pJump] = 0;
SetTimer("Jump1", 1, false);
}
public Jump1(playerid) SJump[playerid][pJump] = 1;
why creating unnecessary 1mili sec timer?
PHP код:
public Jump0(playerid)
{
if(SJump[playerid][pJump] = 0)
{
SJump[playerid][pJump] = 1;
}
}