HELP error - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: HELP error (
/showthread.php?tid=226415)
HELP error -
Finging - 15.02.2011
Код:
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!
Re: HELP error -
HyperZ - 15.02.2011
Use [pawn] [ /pawn] Please, With out that space
Re: HELP error -
Mean - 15.02.2011
For the last error:
Instead of 128.