Jump to content

ItzGabi2k

Membru
  • Posts

    5
  • Joined

  • Last visited

Posts posted by ItzGabi2k

  1. Salutare! Incerc sa optimizez gamemode-ul chars si am dat de o problema de care nu am mai dat pana acum.

    Chars.pwn(13542) : error 033: array must be indexed (variable "componenets")
    Chars.pwn(13543) : error 033: array must be indexed (variable "Mods")
    Chars.pwn(13544) : error 033: array must be indexed (variable "coordonate")
    Pawn compiler 3.10.8              Copyright (c) 1997-2006, ITB CompuPhase


    3 Errors.
     

    13542        componenets = cache_get_field_content_int(20, "Components");                                                                               
    13543        Mods = cache_get_field_content_int(50, "Mods");
    13544        coordonate == cache_get_field_content_int(50, "Cordonate");   

  2. Nu imi merg comenzile:

    /shopinfo, /normalshop, /vipcars, extrapackshop

    YCMD:shopinfo(playerid, params[], help) { ShopType[ playerid ] = 0; ShowShop( playerid ); return true; }
    YCMD:normalshop(playerid, params[], help) { ShopType[ playerid ] = 1; ShowShop( playerid ); return true; }
    YCMD:vipcars(playerid, params[], help) { ShopType[ playerid ] = 2; ShowShop( playerid ); return true; }
    YCMD:extrapackshop(playerid, params[], help) { ShopType[ playerid ] = 3; ShowShop( playerid ); return true; }
    YCMD:shop(playerid, params[], help) {
        SCM(playerid, COLOR_PURPLE, ">> {FFFFFF}Comanda de /shop a fost schimbata:");
        SCM(playerid, COLOR_PURPLE, ">> {FFFFFF}Shop Info:     /shopinfo");
        SCM(playerid, COLOR_PURPLE, ">> {FFFFFF}Normal Shop: /normalshop");
        SCM(playerid, COLOR_PURPLE, ">> {FFFFFF}V.I.P Cars:  /vipcars");
        SCM(playerid, COLOR_PURPLE, ">> {FFFFFF}Extra Packs: /extrapackshop");
        return true;
    }

  3. swapper.pwn(11883) : warning 219: local variable "gString" shadows a variable at a preceding level
    swapper.pwn(13192) : warning 213: tag mismatch: expected tag "bool", but found none ("_")

    liniile 11883-11884:

        new gString[0] = EOS;
        cache_get_field_content(0, "name", gString, MAX_PLAYER_NAME);     

     

    linia 13192:

             CarInfo[id][cRainBow]        = cache_get_field_content_int(0, "RainBow");

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.