Undefined Symbol error
#3

Quote:
Originally Posted by Respekt
Посмотреть сообщение
Hello , i have problem i got error C:\Users\Jarek\Desktop\Lukasza Files\C-WARS\gamemodes\cwars.pwn(470) : error 017: undefined symbol "string"

Line :

format(string, sizeof(string), "%s (%d) is pausing at moment", pName, clickedplayerid);


P.s i'm new in PAWNO
you forgot to :

pawn Код:
#define STRING_LENGTH (128)
new string[ STRING_LENGTH ];
Edit:


Quote:
Originally Posted by [GF]Sasino97
Посмотреть сообщение
before the format add
pawn Код:
new string[256];
You have to declare variables in pawno
256? you need to read ****** optimization thread.
Here : https://sampforum.blast.hk/showthread.php?tid=57018
Reply


Messages In This Thread
Undefined Symbol error - by Respekt - 10.05.2011, 13:52
Re: Undefined Symbol error - by Sasino97 - 10.05.2011, 13:54
Re: Undefined Symbol error - by Cameltoe - 10.05.2011, 13:54
Re: Undefined Symbol error - by Respekt - 10.05.2011, 13:58

Forum Jump:


Users browsing this thread: 1 Guest(s)