29.01.2011, 17:38
Hey guys.
Error
error line
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.
pawn Код:
tmp = strtok(inputtext,idx);