Stuck with /me
#7

Quote:
Originally Posted by JaTochNietDan
Посмотреть сообщение
Well looking at some more of your code it would appear that the variable that stores your characters name is:

pawn Код:
Character[playerid][cName]
So you need to do:

pawn Код:
format(str, sizeof(str), "* %s %s", , Character[playerid][cName], params);
That means you can get rid of GetPlayerName also.
gives me 4 errors now...

(3250) : error 029: invalid expression, assumed zero
(3250) : warning 215: expression has no effect
(3250) : warning 215: expression has no effect
(3250) : error 001: expected token: ";", but found ")"
(3250) : error 029: invalid expression, assumed zero
(3250) : fatal error 107: too many error messages on one line

EDIT: What I think I need to do is add
pawn Код:
RemovePlayerUnderscoreString(Character[playerid][cName]));
but than ir gives me 2 or 1 error

EDIT: Got rid of errors gonna check if it works
Reply


Messages In This Thread
Stuck with /me - by iNorton - 23.10.2011, 15:38
Re: Stuck with /me - by .:Kaos:. - 23.10.2011, 15:44
Re: Stuck with /me - by iNorton - 23.10.2011, 15:50
Re: Stuck with /me - by JaTochNietDan - 23.10.2011, 16:01
Re: Stuck with /me - by iNorton - 23.10.2011, 16:03
Re: Stuck with /me - by JaTochNietDan - 23.10.2011, 16:07
Re: Stuck with /me - by iNorton - 23.10.2011, 16:08
Re: Stuck with /me - by .:Kaos:. - 23.10.2011, 16:11
Re: Stuck with /me - by iNorton - 23.10.2011, 16:12

Forum Jump:


Users browsing this thread: 1 Guest(s)