25.09.2017, 16:59
Try to learn from your mistakes (color doesn't fit format params).
Hmm, let's see.
Those two brackets are not necessary.
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!
Hmm, let's see.
Код:
if(PlayerInfo[i][pOrgID] == 1) { orgname = "Grove Street Families"; }
Quote:
|
if(PlayerInfo[i][pOrgID] == 1) orgname = "Grove Street Families"; |
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)));

