Code:
//change----------------------
nvg[id] = 0
new ammo[32][30]
for (new i=0;i < 30;i++) {
if (i!=2 || i!=6) ammo[id][i] = cs_get_user_bpammo(id,i+1)
}
Vmoney[id] = cs_get_user_money(id)
nvg[id] = cs_get_user_nvg(id)
//endchange
user_kill(id,0)
engclient_cmd(id,"jointeam",(playerTeam[id]==TS) ? "2" : "1")
engclient_cmd(id,"joinclass","5")
//change----------------------
cs_set_user_money(id,Vmoney[id])
for (new i=0;i < 30;i++) {
if (i!=2 || i!=6) cs_set_user_bpammo(id,i+1,ammo[i])
if (ammo[id][i])give_item(id,armement[i])
}
cs_set_user_nvg(id,nvg[id])
//endchange
i ve made this but
- I want this
for id (player) the Vmoney must contains all money status of all player
like this
for id = 50 if id 50 have 1000$
Vmoney[50] = 1000
the same for NVG
and i want guard each weapons of each player in ammo variable
can u help meeeeee
PTB kill and don t give the old weapons of players, i want change this
__________________