HELP error
#1

Код:
 
Text:TextdrawMenu(playerid,Float:x,Float:y,neve[])
{
	new Text:textdraw;
    textdraw = TextDrawCreate(x,y, neve);
	TextDrawAlignment(textdraw, 1);
	TextDrawColor(textdraw,COLOR_NEMKIJELOLT);
	TextDrawSetOutline(textdraw,1);
	TextDrawShowForPlayer(playerid, textdraw);
	return textdraw;
}

C:\Documents and Settings\atesz\Asztal\samp\palorp.pwn(4169) : warning 208: function with tag result used before definition, forcing reparse
Код:
 

C:\Documents and Settings\atesz\Asztal\samp\palorp.pwn(1299) : warning 213: tag mismatch
C:\Documents and Settings\atesz\Asztal\samp\palorp.pwn(1299) : warning 202: number of arguments does not match definition

    Create3DTextLabel("[Szйf]",COLOR_LIGHTBLUE,244.411987, 305.032989, 999.148437, 10.0,0,1);
    Create3DTextLabel("[Uttнsztнtу:/elfogad]",COLOR_LIGHTBLUE,2570.2861,51.7979,26.4844,94.1404, 10.0,0,1);
    CreatePickup(1242, 1, 2498.659179,-1708.777587,1014.742187); // 88 policearmor
Код:
	}
	if(strcmp(cmd, "/bankrangja", true) == 0)
	{
		printf("%s beнrta a /bankrangja parancsot\r\n", PlayerName(playerid));
	    tmp = strtok(cmdtext, idx);
	    new tmp2[128];
		tmp2 = strtok(cmdtext, idx);
	    if(!strlen(tmp))
		{
			msg(playerid,"Hasznбlat: /bankrangja <playerid> <rang> (vezető, tank, navigбtor)");
			return 1;
		}

C:\Documents and Settings\atesz\Asztal\samp\palorp.pwn(11154) : error 047: array sizes do not match, or destination array is too small
Код:
			SendClientMessage(playerid, COLOR_RED, "Hasznбlat: /bandaleader <playerid> <banda>");
				return 1;
			}
			giveplayerid = ReturnUser(tmp);
			tmp2 = strtok(cmdtext, idx);
			if((strcmp("Convergentia", tmp2, true, strlen(tmp2)) == 0) && (strlen(tmp2) == strlen("Convergentia")))
	    	{
				if(Info[playerid][admin] >= 1)
				{
					if(IsPlayerConnected(giveplayerid))
					{
						if(Info[giveplayerid][szervezet] == 0)
						{
							if(PLAYERLIST_authed[giveplayerid] == 1)



C:\Documents and Settings\atesz\Asztal\samp\palorp.pwn(1209) : error 047: array sizes do not match, or destination array is too small
Thanx!
Reply
#2

Use [pawn] [ /pawn] Please, With out that space
Reply
#3

For the last error:
pawn Код:
new tmp2[ 256 ];
Instead of 128.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)