Why It Is ?
#1

Код:
	//---- Join Gang
	if(strcmp(tmp, "join", true) == 0)
	{
	    new message[128];
		new gangid = 0;
		new PlayerName [500]
		if(AccInfo[playerid][gang] != 0) return Inter_SendClientMessage(playerid, RandomColors[random(200)], "You are already in a gang.");
		if(invited[playerid] == 0) return Inter_SendClientMessage(playerid, RandomColors[random(200)], "You have not been invited to join that gang.");
		JoinGang(playerid, invited[playerid]);
  		format(message, 128, "[%s]%s", GangInfo[gangid][GANG_NAME], PlayerName);
    	SetPlayerName(playerid, message);
		return 1;
	}
errorcode
Код:
D:\GTASAN~1\GAMEMO~1\SATDM_~1.PWN(38986) : error 001: expected token: ";", but found "if"
Reply
#2

pawn Код:
//---- Join Gang
    if(strcmp(tmp, "join", true) == 0)
    {
        new message[128];
        new gangid = 0;
        new PlayerName [500];
        if(AccInfo[playerid][gang] != 0) return Inter_SendClientMessage(playerid, RandomColors[random(200)], "You are already in a gang.");
        if(invited[playerid] == 0) return Inter_SendClientMessage(playerid, RandomColors[random(200)], "You have not been invited to join that gang.");
        JoinGang(playerid, invited[playerid]);
        format(message, 128, "[%s]%s", GangInfo[gangid][GANG_NAME], PlayerName);
        SetPlayerName(playerid, message);
        return 1;
    }
Reply
#3

thanks man.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)