/giveweapon w/ names.
#7

I just made this up [srx for doublepost]:
pawn Код:
new WeapArray[40][2][50] = {
    {"Brass Knuckles","1"},
    {"Golf Club","2"},
    {"Nite Stick","3"},
    {"Knife","4"},
    {"Baseball Bat","5"},
    {"Shovel","6"},
    {"Pool Cue,"7"},
    {"
Katana","8"}
    {"
Chainsaw","9"},
    {"
Dildo","10"},
    {"
Flowers","14"},
    {"
Cane","15"},
    {"
Grenade","16"},
    {"
Tear Gas","17"},
    {"
Molotov Coctail","18"},
    {"
9mm","22"},
    {"
Silenced 9mm","23"},
    {"
Desert Eagle Deagle","24"},
    {"
Shotgun","25"}
    {"
Sawn-off Shotgun","26"}
    {"
Combat Shotgun","27"}
    {"
Micro-SMG","28"},
    {"
MP5","29"},
    {"
AK-47","30"},
    {"
M4","31"},
    {"
Tec-9","32"},
    {"
Country Rifle","33"},
    {"
Sniper Rifle","34"},
    {"
Rocket Launcher","35"},
    {"
Heat Seeker Rocket Launcher HS","36"},
    {"
Flamethrower","37"},
    {"
Minigun","38"},
    {"
Satchel","39"},
    {"
Detonator","40"},
    {"
Fire Extinguisher","41"},
    {"
Camera","42"},
    {"
Night Vision ******s","43"},
    {"
Thermal Vision ******s","44"},
    {"
Parachute","46"}
};
Errors I get:
Код:
C:\Users\***\tf2.pwn(82) : error 001: expected token: ";", but found "-integer value-"
C:\Users\***\tf2.pwn(115) : error 010: invalid function or declaration
C:\Users\***\tf2.pwn(1119) : warning 203: symbol is never used: "WeapArray"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
EDIT: Aaah just a bunch of commas.. xd
Reply


Messages In This Thread
/giveweapon w/ names. - by Seven_of_Nine - 28.12.2011, 09:53
Re: /giveweapon w/ names. - by thimo - 28.12.2011, 10:19
Re: /giveweapon w/ names. - by §с†¶e®РµРe - 28.12.2011, 10:56
Re: /giveweapon w/ names. - by Seven_of_Nine - 28.12.2011, 15:27
Re: /giveweapon w/ names. - by The God - 28.12.2011, 15:49
Re: /giveweapon w/ names. - by Seven_of_Nine - 28.12.2011, 15:53
Re: /giveweapon w/ names. - by Seven_of_Nine - 28.12.2011, 16:19

Forum Jump:


Users browsing this thread: 2 Guest(s)