28.07.2013, 14:15
Hey I was just making a simple function until i reached this:
My code is:
Got any ideas why i got those errors?
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. |
pawn Код:
public IncreasePlayerXP(playerid,Value)
{
new pXP = dUserINT(playerid).("XP"); //Line 14194
pXP +=Value;
dUserSetINT(playerid).("XP", pXP); //Line 14196
return 1;
}