Problem with value. Simple
#2

In your first if statement, you check if CowTime is greater than 0, being that 5 is greater than 0, your else-if will not be reached when CowTime equals 5, the if statement code will take place instead. To fix this, you should check if CowTime is greater than 5, not 0:

pawn Code:
if(CowTime[playerid] > 5)
Reply


Messages In This Thread
Problem with value. Simple - by Mikeydoo - 27.01.2016, 02:01
Re: Problem with value. Simple - by [KHK]Khalid - 27.01.2016, 03:13
Re: Problem with value. Simple - by Mikeydoo - 27.01.2016, 19:34

Forum Jump:


Users browsing this thread: 1 Guest(s)