Jump to content

Question

Posted

 

  

C:\Users\Ionut\Desktop\GAMEMODE Banger RPG\gamemodes\Ding.pwn(21221) : error 035: argument type mismatch (argument 1)
C:\Users\Ionut\Desktop\GAMEMODE Banger RPG\gamemodes\Ding.pwn(21221) : error 020: invalid symbol name ""
C:\Users\Ionut\Desktop\GAMEMODE Banger RPG\gamemodes\Ding.pwn(21221) : error 029: invalid expression, assumed zero
C:\Users\Ionut\Desktop\GAMEMODE Banger RPG\gamemodes\Ding.pwn(21221) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
 

 format(APLOBAL, sizeof(APLOBAL), "SERVER BONUS: {FFFFFF}%s a activat comanda [/getpp], stoc limitat: (%d).",GetName(playerid),nrstock);-21221

Comanda 

CMD:getpp(playerid, params[])
    if(stockpp > 0)
    {
        if(afolositgetpp[playerid] == 0)
        {
            stockpp--;
            format(APLOBAL, sizeof(APLOBAL),"SERVER BONUS: {FFFFFF}%s a primit %d Diamante, au mai ramas: %d [/getpp] in stoc.", GetName(playerid), sumapp, stockpp);
            SendClientMessageToAll(COLOR_SERVER, APLOBAL);
            PlayerInfo[playerid][pPremiumPoints] += sumapp;
            Update(playerid, pPremiumPointsx);
            afolositgetpp[playerid] = 1;
         }
         else
         {
             SCM(playerid, COLOR_WHITE, "Ai folosit deja aceasta comanda!");
         }
    }
    else
    {
        SCM(playerid, COLOR_WHITE, "Nu mai sunt [/getpp] in stoc.");
    }
return 1;
}

 

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.