28.02.2018, 06:46
Quote:
Nope i still dont get what youre trying to say here and im pretty sure no one does, how's that going to cause any problems when he returned the same function? Hows it supposed to look like then??
|
PHP код:
stock wSetPlayerAmmo(playerid, weapon, ammo)
{
weaponsInfo[playerid][Ammo][weapon] = ammo;
if(!weaponsInfo[playerid][wImmune]) SetTimerEx("wResetImmune", 3000, false, "i", playerid);
weaponsInfo[playerid][wImmune] = true;
return SetPlayerAmmo(playerid, weapon, ammo);
}
PHP код:
weaponsInfo[playerid][Ammo][weapon] = ammo;