help +rep
#8

Quote:
Originally Posted by xVIP3Rx
Посмотреть сообщение
change this
pawn Код:
new adminlvl,pmsg[128],adminmsg[128],string [128],pname,pID,string2[128];
to this
pawn Код:
new adminlvl,pmsg[128],adminmsg[128],string [128],pname[MAX_PLAYER_NAME],pID,string2[128];
You were passing a string as an integer, a name is a string so you must add "[MAX_PLAYER_NAME]" or "[28]" when you pass something to the string.
i still get the same error on the same line
Reply


Messages In This Thread
help +rep - by YoussefHammad - 24.07.2015, 19:00
Re: help +rep - by nmader - 24.07.2015, 19:02
Re: help +rep - by XVlaDX - 24.07.2015, 19:03
Re: help +rep - by xVIP3Rx - 24.07.2015, 19:14
Re: help +rep - by TenTen - 24.07.2015, 19:15
Re: help +rep - by YoussefHammad - 24.07.2015, 19:20
Re: help +rep - by xVIP3Rx - 24.07.2015, 19:24
Re: help +rep - by YoussefHammad - 25.07.2015, 00:30
Re: help +rep - by xVIP3Rx - 25.07.2015, 01:04
Re: help +rep - by YoussefHammad - 25.07.2015, 01:08

Forum Jump:


Users browsing this thread: 1 Guest(s)