SA-MP Forums Archive
Help with that - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help with that (/showthread.php?tid=319672)



Help with that - Jermi - 19.02.2012

Quote:

L:\Gta San Andreas\Gta San Andreas\Gta San Andreas\Scripting\gamemodes\Testing.pwn(112) : warning 217: loose indentation
L:\Gta San Andreas\Gta San Andreas\Gta San Andreas\Scripting\gamemodes\Testing.pwn(309) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

i need to fix it please show me and here is the problem...

Quote:

public OnPlayerDeath(playerid, killerid, reason)
{
PlayerInfo[killerid][pKills]++;
PlayerInfo[playerid][pDeaths]++;
return 1;
}




Re: Help with that - Sufyan - 19.02.2012

Indent your code or just add top of your script
//top of your script under include..
Quote:

#pragma tabsize 0




Re: Help with that - Jermi - 19.02.2012

THANKS +Rep