ApplyAnimation(i,"PED", "WALK_DRUNK",4.0,0,1,0,0,0);
SetPlayerDrunkLevel(i, 10000);
PlayerDrunkTimeLeft[i] += 1;
if(PlayerDrunkTimeLeft[i] == 4)
{
PlayerDrunkTimeLeft[i] = 0;
PlayerDrunk[i] -= 1;
if(PlayerDrunk[i] < 5)
{
GameTextForPlayer(i, "~w~Drunk Effect Has~n~~p~Wore Off", 3500, 1);
SetPlayerDrunkLevel(i, 0);
}
}
}
}
}
if(PlayerInfo[i][pCarTime] > 0)
{
if(PlayerInfo[i][pCarTime] <= 0)
{
PlayerInfo[i][pCarTime] = 0;
}
else
{
PlayerInfo[i][pCarTime] -= 1;
}
}
if(BoxWaitTime[i] > 0)
{
if(PlayerInfo[i][pCarTime] > 0)
{
if(PlayerInfo[i][pCarTime] <= 0)
{
PlayerInfo[i][pCarTime] = 0;
}
else
{
PlayerInfo[i][pCarTime] -= 1;
}
}
if(PlayerInfo[i][pCarTime] > 0) //Is the value more then 0?
{
if(PlayerInfo[i][pCarTime] <= 0) // Is the value lower then or equal to 0?
Test
Test
Test
Test
Test
Test
Test
Test
Test
Test
|
Add: #pragma tabsize 0
This will ignore the indention. To explain it: pawn Код:
pawn Код:
1st will give you wanring, 2nd not. ![]() |
|
I understand, the problem is it just wont go away, no matter how many ways i put it.. I dont wanna be lazy with the tabsize thing
|
Take a good look at the code and line them up!

I won't use your script or give it away.
SetPlayerDrunkLevel(i, 0);
}
}
}
}
}
if(PlayerInfo[i][pCarTime] > 0)//hingy
{
if(PlayerInfo[i][pCarTime] <= 0)
{
PlayerInfo[i][pCarTime] = 0;
}
else
{
PlayerInfo[i][pCarTime] -= 1;
}
}
if(BoxWaitTime[i] > 0)// Thingy
{