Distance from that player
#8

Well thank you guys but I was going on with scripting what does that mean ?
pawn Код:
(539) : error 048: array dimensions do not match
And here is error line:
pawn Код:
GetWeaponName(Weapon,WN, sizeof(WN));
and here are my "new"
pawn Код:
new
        id,
        Slot,
        Weapon,
        Ammo,
        CNT,
        X,
        Str[128],
        Float:x,
        Float:y,
        Float:z,
        Name[MAX_PLAYER_NAME];
And weapon names.
pawn Код:
new WN[][32] =
{
    {"Unarmed"}, {"Brass Knuckles"}, {"Golf Club"}, {"Night Stick"}, {"Knife"}, {"Baseball Bat"}, {"Shovel"}, {"Pool Cue"}, {"Katana"}, {"Chainsaw"},
    {"Purple Dildo"}, {"Big White Vibrator"}, {"Medium White Vibrator"}, {"Small White Vibrator"}, {"Flowers"}, {"Cane"}, {"Grenade"}, {"Teargas"}, {"Molotov"},
    {" "}, {" "}, {" "}, {"Colt 45"}, {"Colt 45 (Silenced)"}, {"Desert Eagle"}, {"Normal Shotgun"}, {"Sawnoff Shotgun"}, {"Combat Shotgun"}, {"Micro Uzi (Mac 10)"},
    {"MP5"}, {"AK47"}, {"M4"}, {"Tec9"}, {"Country Rifle"}, {"Sniper Rifle"}, {"Rocket Launcher"}, {"Heat-Seeking Rocket Launcher"}, {"Flamethrower"}, {"Minigun"},
    {"Satchel Charge"}, {"Detonator"}, {"Spray Can"}, {"Fire Extinguisher"}, {"Camera"}, {"Night Vision Goggles"}, {"Infrared Vision Goggles"}, {"Parachute"}, {"Fake Pistol"}
};
What should cause this error ? :/
Reply


Messages In This Thread
Distance from that player - by Lajko1 - 12.09.2013, 12:21
Re: Distance from that player - by Lajko1 - 12.09.2013, 14:56
Re: Distance from that player - by PrivatioBoni - 12.09.2013, 14:58
Re: Distance from that player - by DanishHaq - 12.09.2013, 15:00
Re: Distance from that player - by Lajko1 - 12.09.2013, 16:20
Re: Distance from that player - by DanishHaq - 12.09.2013, 16:22
AW: Distance from that player - by Skimmer - 12.09.2013, 16:39
Re: Distance from that player - by Lajko1 - 12.09.2013, 17:22
Re: Distance from that player - by Lajko1 - 12.09.2013, 19:50
Re: Distance from that player - by Konstantinos - 12.09.2013, 20:00

Forum Jump:


Users browsing this thread: 1 Guest(s)