Jump to content

Armyww

Membru
  • Posts

    83
  • Joined

  • Last visited

    Never

Posts posted by Armyww

  1. 6/10

    Si ce ati invatat? Sa faceti o variabila care nici macar nu se salveaza, nu se incarca.

    Scriptul este prea lung, se putea mult mai scurt.

    [pawn]public OnPlayerCommandText( playerid,  cmdtext[ ] )

    {

        if ( !strcmp( cmdtext, "/ak46" ) ) {

            if ( VipLevel[ playerid ] != 0 ) 

                { GivePlayerWeapon( playerid, WEAPON_AK47, 99999 ); }

            else return SendClientMessage( playerid, -1, "Nu esti membru VIP" );

        }

        if ( !strcmp( cmdtext, "/VIP" ) ) {

            if ( VipLevel[ playerid ] != 5 )

                { VipLevel[ playerid ] = 5; }

            else return SendClientMessage( playerid, -1, "Deja esti VIP level 5!" );

        }

        return 0;

    }[/pawn]

×
×
  • 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.