11.03.2017, 20:37
Hi i made this script that let him jump one time, bat i need make it let hum jump it three times. How need make it?
Код:
if(PRESSED(KEY_WALK)) { if(teams[playerid] == TEAM_BLUE) { if(pInfo[playerid][pBlueClass] == Test) { if(gettime() - 6 < Abilitys[playerid][Time]) return GameTextForPlayer(playerid,"~w~ Still recovering",1000,5); { new Float:x,Float:y,Float:z; GetPlayerVelocity(playerid,Float:x,Float:y,Float:z); SetPlayerVelocity(playerid,Float:x,Float:y*1.0,Float:z+0.8* 1.2); Abilitys[playerid][Time] = gettime(); } } } }