Help please.
#1

Hey guys.
Error

pawn Код:
if (dialogid == 21)
    {
        new tmp[100],idx;
        new string[128];
        new id = strval(tmp);
        tmp = strtok(inputtext,idx);
        GetPlayerName(id, playername, sizeof(playername));
       
        format(string,sizeof(string),"Name: %s\nWanted Level: %d",playername,GetPlayerWantedLevel(id));
        ShowPlayerDialog(playerid,22,DIALOG_STYLE_MSGBOX,"Info",string,"Ok","Cancel");
   
    }
Код:
C:\Users\Michael\Desktop\Samp scvripting\gamemodes\roleplay.pwn(1140) : 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 Код:
tmp = strtok(inputtext,idx);
Reply


Messages In This Thread
Help please. - by bartje01 - 29.01.2011, 17:38
Re: Help please. - by JaTochNietDan - 29.01.2011, 17:42
Re: Help please. - by bartje01 - 29.01.2011, 17:49

Forum Jump:


Users browsing this thread: 3 Guest(s)