SA-MP Forums Archive
[help]error 017: undefined symbol "Version" - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [help]error 017: undefined symbol "Version" (/showthread.php?tid=243933)



[help]error 017: undefined symbol "Version" - JOKERBOY - 25.03.2011

C:\Users\GABRIEL\Desktop\LifeisGood\filterscripts\ Bank.pwn(20) : error 017: undefined symbol "Version"
C:\Users\GABRIEL\Desktop\LifeisGood\filterscripts\ Bank.pwn(2 : error 017: undefined symbol "Version"

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.

pawn Код:
printf("Bank System By [ProX]BlueFrie is == ON",Version);
    return true;
}
public OnFilterScriptExit()
{
    DestroyObject(BankDor);
    DestroyPickup(BankExit);
    CPS_RemoveCheckpoint(BankCP);
    printf("Bank System By [ProX]BlueFrie is == OFF",Version);
    return true;
}

WHATS THE PROBLEM ?


Re: [help]error 017: undefined symbol "Version" - Hashski - 25.03.2011

pawn Код:
#define Version   "I'm newb"
pawn Код:
printf("Bank System By [ProX]BlueFrie is == ON v%s",Version);
    return true;
}
public OnFilterScriptExit()
{
    DestroyObject(BankDor);
    DestroyPickup(BankExit);
    CPS_RemoveCheckpoint(BankCP);
    printf("Bank System By [ProX]BlueFrie is == OFF v%s",Version);
    return true;
}



Re: [help]error 017: undefined symbol "Version" - iJumbo - 25.03.2011

#define Version "your version"


and
printf("Bank System By [ProX]BlueFrie is == OFF %s",Version);


Re: [help]error 017: undefined symbol "Version" - Mike Garber - 25.03.2011

Are you kidding me? It clearly says what's wrong with it.

"Version" is undefined.