[HELP]Anti Spawnkill problem
#1

Hi guys, ive made some Script For Anti Spawnkill protection.
Here is the code :

Код:
public OnPlayerRequestClass(playerid)
{
SetPlayerHealth(playerid, 1000000);
	SetTimerEx("endspawnkillprotect", 5000, false, "i", playerid);
	SendClientMessage(playerid, COLOR_BRIGHTRED, "Youre Protected by Anti Spawnkill Now");
	return 1;
}
And here is the endspawnkillprotect
Код:
public endspawnkillprotect(playerid)
{
SetPlayerHealth(playerid, 100.0);
SetPlayerArmor(playerid, 100.);
}
Here is the error code when i compiled it:
Код:
E:\Rockstar Games\GTA San Andreas\samp03x_svr_R1-2_win32_3\gamemodes\owntdm.pwn(116) : warning 217: loose indentation
E:\Rockstar Games\GTA San Andreas\samp03x_svr_R1-2_win32_3\gamemodes\owntdm.pwn(117) : warning 217: loose indentation
E:\Rockstar Games\GTA San Andreas\samp03x_svr_R1-2_win32_3\gamemodes\owntdm.pwn(175) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply


Messages In This Thread
[HELP]Anti Spawnkill problem - by qazwsx - 27.07.2013, 11:20
Re: [HELP]Anti Spawnkill problem - by ScRipTeRi - 27.07.2013, 11:33
Re: [HELP]Anti Spawnkill problem - by qazwsx - 27.07.2013, 11:39
Re: [HELP]Anti Spawnkill problem - by ScRipTeRi - 27.07.2013, 11:44
Re: [HELP]Anti Spawnkill problem - by qazwsx - 27.07.2013, 11:47
Re: [HELP]Anti Spawnkill problem - by MellowHammer - 27.07.2013, 11:48
Re: [HELP]Anti Spawnkill problem - by ScRipTeRi - 27.07.2013, 11:51
Re: [HELP]Anti Spawnkill problem - by qazwsx - 27.07.2013, 12:44
Re: [HELP]Anti Spawnkill problem - by qazwsx - 27.07.2013, 12:55
Re: [HELP]Anti Spawnkill problem - by ScRipTeRi - 27.07.2013, 12:56

Forum Jump:


Users browsing this thread: 4 Guest(s)