04.12.2011, 00:38
thx. I think it return old data, but how to correct that?
Код:
GetPlayerWeaponData if((Player_Weapons[slot] == 22 || Player_Weapons[slot] == 23) && Player_Ammos[slot] > 0 && Player_Ammos[slot] < 65535 && PlayerInfo[i][wep2] == 0) { //ban } if(Player_Weapons[slot] == 24 && Player_Ammos[slot] > 0 && Player_Ammos[slot] < 65535 && PlayerInfo[i][wepeagle] ==0) { //ban } //PlayerInfo[i][wep2] = 1 PlayerInfo[i][wepeagle] = 1 when a player give a weapon