my 101st thread!*celebration*
#7

Try to learn from your mistakes (color doesn't fit format params).

Hmm, let's see.
Код:
 if(PlayerInfo[i][pOrgID] == 1) { orgname = "Grove Street Families"; }
Those two brackets are not necessary.
Quote:

if(PlayerInfo[i][pOrgID] == 1) orgname = "Grove Street Families";

So, (i) is causing the problem. Script doesn't know what i means. If you're trying to get the players name visit https://sampwiki.blast.hk/wiki/GetPlayerName You have a clear example how to implement it!

Duhh, here you go!

Код:
 new str[512],orgname[24],name[MAX_PLAYER_NAME];
           format(str,sizeof(str),"%s | %s |",orgname, GetPlayerName(playerid, name, sizeof(name)));
Reply


Messages In This Thread
my 101st thread!*celebration* - by n00blek - 25.09.2017, 16:18
Re: my 101st thread!*celebration* - by Sew_Sumi - 25.09.2017, 16:23
Re: my 101st thread!*celebration* - by n00blek - 25.09.2017, 16:24
Re: my 101st thread!*celebration* - by coool - 25.09.2017, 16:33
Re: my 101st thread!*celebration* - by J0sh... - 25.09.2017, 16:34
Re: my 101st thread!*celebration* - by n00blek - 25.09.2017, 16:38
Re: my 101st thread!*celebration* - by Fratello - 25.09.2017, 16:59
Re: my 101st thread!*celebration* - by Marricio - 25.09.2017, 17:33
Re: my 101st thread!*celebration* - by Kraeror - 25.09.2017, 18:20
Re: my 101st thread!*celebration* - by n00blek - 25.09.2017, 18:53

Forum Jump:


Users browsing this thread: 1 Guest(s)