30.09.2014, 19:34
Quote:
Wow, how come after adding Emmet's include, i receive many, many indentation warnings? lol
pawn Код:
|
Код:
#pragma tabsize 0
Wow, how come after adding Emmet's include, i receive many, many indentation warnings? lol
pawn Код:
|
#pragma tabsize 0
D:\Ultimate Gaming Server\filterscripts\sd.pwn(75) : error 025: function heading differs from prototype Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
public OnPlayerDisableCursor(playerid, hovercolor)
{
return 1;
}
OnPlayerStartBurning / IsPlayerBurning?
I've been thinking of a function capable of checking for these since ages, however i came up with nothing :] |
Could maybe be detected by checking if the player is slowly loosing health, - and near fire particles?
|
public OnPlayerBurning(playerid, status)
{
if (status)
{
// Started burning
}
else
{
// Stopped burning
}
return 1;
}
public OnPlayerAiming(playerid, weaponid, status)
{
if (status)
{
// Started aiming
}
else
{
// Stopped aiming
}
return 1;
}
public OnPlayerTakePicture(playerid);
{
return 1;
}
stock IsPlayerBurning(playerid);
stock IsPlayerAiming(playerid);
public OnPlayerGetStuntBonus(playerid, money)