25.05.2010, 20:32
Код:
if(IsPlayerInRangeOfPoint(playerid, 5.0, 1419.0038,544.4953,18.4670))//Kalastamise koht { LoopingAnim(playerid,"PED","SEAT_down",4.1,0,1,1,1,0); SendClientMessage(playerid, LILLA, "* alustasid kalapььgiga"); SetTimerEx("Kalastamine", 60000, false, "i", playerid); new string2[256], pname[MAX_PLAYER_NAME]; GetPlayerName(playerid, pname, sizeof(pname)); format(string2, sizeof(string2), "%s pakib oma kalastus vahendid lahti ning alustab pььgiga", pname); SendLocalMessage(playerid, LILLA, 7, string2); }
and if i press F or ENTER button then it does that but how can i make if you have already clicked 1 time then you need to wait till Timer ends SetTimerEx("Kalastamine", 60000, false, "i", playerid);