Undefined symbol error
#1

FIXED
Reply
#2

So where do you create this function called "SavePlayerStats" ?
Reply
#3

I don't know where to create it, can you help me please?
Reply
#4

Did you copy that from some gamemode?
Reply
#5

Yes.
Reply
#6

you also need to copy that stock or callback too
Reply
#7

There wasn't any stock nor callback. I copied it from some thread and the post gave everything which i posted here. The thread poster who had a problem with account stats saving (the problem i have too) answered that it helped.
Reply
#8

pawn Код:
public SaveAll()
new SavePlayerStats
{
    for(new i=0; i<MAX_PLAYERS; i++) if(IsPlayerConnected(i) && !IsPlayerNPC(i)) SavePlayerStats(i);
    return 1;
}
Reply
#9

The error with undefined symbol has gone but now it gives three new errors

pawn Код:
error 003: declaration of a local variable must appear in a compound block
error 010: invalid function or declaration
error 010: invalid function or declaration
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)