Admin Title Command
#5

There's some mistakes with that:

1.
You need to use it above
pawn Код:
if (userid == INVALID_PLAYER_ID)
As "userid" needs to be defined by sscanf too.

2.
"uss[32]" will be "ID", "string" and "string"[size of 32], yet you only added "userid" and "atitle", so you're not using the one in the middle, delete it.
Also, you need to use a string size if you wanted to use the string in the middle.

3. (Not really anything wrong with it, but just saying)
There's no need to use an "else" or the brackets with your sscanf.
Reply


Messages In This Thread
Admin Title Command - by Luke_James - 18.02.2015, 14:25
Re: Admin Title Command - by HazardouS - 18.02.2015, 14:32
Re: Admin Title Command - by Luke_James - 18.02.2015, 14:59
Re: Admin Title Command - by HazardouS - 18.02.2015, 15:05
Re: Admin Title Command - by CalvinC - 18.02.2015, 15:06
Re: Admin Title Command - by Luke_James - 18.02.2015, 17:52
Re: Admin Title Command - by CalvinC - 18.02.2015, 18:05
Re: Admin Title Command - by Luke_James - 18.02.2015, 18:11

Forum Jump:


Users browsing this thread: 1 Guest(s)