question 2 help me please
#4

Quote:
Originally Posted by !Vampire!
add this under OnPlayerConnect :
Код:
new welmessage[128];
new pNamE[MAX_PLAYER_NAME];
GetPlayerName(playerid,pName,sizeof(pNamE));
format(welmessage,sizeof(welmessage),"Welcome To Our Server %s,pNamE);
SendClientMessage(playerid,COLOR_RED,welmessage);
He gives as an error

C:\DOCUME~1\Londen\BUREAU~1\NIEUWE~1\new.pwn(156) : error 017: undefined symbol "pName"
C:\DOCUME~1\Londen\BUREAU~1\NIEUWE~1\new.pwn(156) : error 035: argument type mismatch (argument 2)
C:\DOCUME~1\Londen\BUREAU~1\NIEUWE~1\new.pwn(15 : error 017: undefined symbol "COLOR_RED"
C:\DOCUME~1\Londen\BUREAU~1\NIEUWE~1\new.pwn(159) : warning 217: loose indentation
C:\DOCUME~1\Londen\BUREAU~1\NIEUWE~1\new.pwn(155) : warning 204: symbol is assigned a value that is never used: "pNamE"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


3 Errors.
Reply


Messages In This Thread
question 2 help me please - by justinkomnuga - 04.04.2010, 15:09
Re: question 2 help me please - by aircombat - 04.04.2010, 15:17
Re: question 2 help me please - by justinkomnuga - 04.04.2010, 15:31
Re: question 2 help me please - by justinkomnuga - 04.04.2010, 15:34
Re: question 2 help me please - by aircombat - 04.04.2010, 15:48
Re: question 2 help me please - by justinkomnuga - 04.04.2010, 15:55
Re: question 2 help me please - by justinkomnuga - 04.04.2010, 16:08
Re: question 2 help me please - by aircombat - 04.04.2010, 16:08
Re: question 2 help me please - by justinkomnuga - 04.04.2010, 16:11
Re: question 2 help me please - by aircombat - 04.04.2010, 16:12

Forum Jump:


Users browsing this thread: 1 Guest(s)