Another problem (Shame on me : l)
#1

pawn Код:
COMMAND:recruit(playerid,params[])
{
    new f[60];
    if(PlayerInfo[playerid][pFrank] <9) return SendClientMessage(playerid,COLOR_GREY,"You have to be rank 9 in a faction to use this command");
    if(sscanf(params,"u",id)) return SendClientMessage(playerid,COLOR_GREY,"/recruit [playerid]");
    GetPlayerName(playerid,Name,sizeof(Name));
    f = dini_Get(file, "Faction");
    format(String,sizeof(String),"You are invited for %s by %s",f,Name);
    ShowPlayerDialog(playerid,FINVITE,DIALOG_STYLE_MSGBOX,"Invited",String,"","");
    return 1;
}
Код:
C:\Users\Bart\Desktop\infinityrp\gamemodes\infinityrp.pwn(510) : error 047: array sizes do not match, or destination array is too small
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Error line
pawn Код:
f = dini_Get(file, "Faction");
Reply


Messages In This Thread
Another problem (Shame on me : l) - by bartje01 - 26.06.2011, 23:33
Re: Another problem (Shame on me : l) - by willsuckformoney - 26.06.2011, 23:38
Re: Another problem (Shame on me : l) - by bartje01 - 26.06.2011, 23:59
Re: Another problem (Shame on me : l) - by Revolutionary Roleplay - 27.06.2011, 00:05
Re: Another problem (Shame on me : l) - by bartje01 - 27.06.2011, 00:13
Re: Another problem (Shame on me : l) - by Donya - 27.06.2011, 00:32
Re: Another problem (Shame on me : l) - by bartje01 - 27.06.2011, 00:35
Re: Another problem (Shame on me : l) - by Tee - 27.06.2011, 05:18
Re: Another problem (Shame on me : l) - by FireCat - 27.06.2011, 07:08

Forum Jump:


Users browsing this thread: 2 Guest(s)