Undefined symbol "plname"
#1

Код:
new plname[MAX_PLAYER_NAME], string[64];
I have it but..
pawn Код:
error 017: undefined symbol "plname"
error 017: undefined symbol "plname"
on line..
pawn Код:
GetPlayerName(playerid,plname,sizeof(plname));
Reply
#2

This is haunting me!
Reply
#3

pawn Код:
new plname[64]
Try it.
Reply
#4

pawn Код:
new plname[30];
for me it worked
P.S: set string cells to 128 unless it's a short text
Reply
#5

Yeah tried that before and it simply gives me a set of different errors..

Код:
(474) : error 017: undefined symbol "string"
(474) : error 017: undefined symbol "string"
Reply
#6

then do this
new string[128];
Reply
#7

It goes back to undefined symbol plname
Reply
#8

ohhhh where is located the new? inside the callback, command or up to all?
Reply
#9

inside the callback
Reply
#10

ok try putting the new up to all
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)