27.03.2011, 22:18
Ok, so im trying to add classes, and this is what i have:
public OnPlayerRequestClass(playerid, classid)
{
// With this you save the chosen class number into pClass[playerid]
pClass[playerid] = classid;
return 1;
}
But, when i try to compile, it gives a error for pClass[playerid] = classid;
Can someone tell me whats wrong?
public OnPlayerRequestClass(playerid, classid)
{
// With this you save the chosen class number into pClass[playerid]
pClass[playerid] = classid;
return 1;
}
But, when i try to compile, it gives a error for pClass[playerid] = classid;
Can someone tell me whats wrong?