AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   PTB help (https://forums.alliedmods.net/showthread.php?t=2675)

sanaell 06-13-2004 09:56

PTB help
 
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

mercury 06-28-2004 14:29

sorry, have you got PTB amxX plugin working on cs1.5?


All times are GMT -4. The time now is 14:53.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.