02.11.2010, 14:18
how's it possible that when i do
and
After spawn i dont get the weapons even the code is correct(atleast looks corect to me :P),
now i know that weapons get reset after death so it might be that, but how to hell could be
created scripts like mabakos or garciats weapon drop scripts i mean its basicly the same damn
thing about saving and giving weapons!
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
new weapons[13][2];
for (new i = 0; i < 13; i++)
{
GetPlayerWeaponData(playerid, i, weapons[i][0], weapons[i][1]);
}
return 1;
}
pawn Код:
public OnPlayerSpawn(playerid)
{
new weapons[13][2];
for (new i = 0; i < 13; i++)
GivePlayerWeapon(playerid, weapons[i][0], weapons[i][1]);
return 1;
}
now i know that weapons get reset after death so it might be that, but how to hell could be
created scripts like mabakos or garciats weapon drop scripts i mean its basicly the same damn
thing about saving and giving weapons!