error 035: argument type mismatch (argument 1)
#1

Hey I was just making a simple function until i reached this:
Quote:

C:\Users\Username\Desktop\CGCNR\gamemodes\cgcnr.pw n(14194) : error 035: argument type mismatch (argument 1)
C:\Users\Username\Desktop\CGCNR\gamemodes\cgcnr.pw n(14196) : error 035: argument type mismatch (argument 1)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.

My code is:
pawn Код:
public IncreasePlayerXP(playerid,Value)
{
    new pXP = dUserINT(playerid).("XP"); //Line 14194
    pXP +=Value;
    dUserSetINT(playerid).("XP", pXP); //Line 14196
    return 1;
}
Got any ideas why i got those errors?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)