Jump to content
  • 0

ajutor comanda glow


eXorcism

Question

la comanda glow imi da 26 de erori

[pawn]F:\Server scriptet de mne\gamemodes\RZF.pwn(200) : error 004: function "SendPlayerFormattedText" is not implemented

F:\Server scriptet de mne\gamemodes\RZF.pwn(222) : error 017: undefined symbol "strtok"

F:\Server scriptet de mne\gamemodes\RZF.pwn(222) : error 033: array must be indexed (variable "cmd")

F:\Server scriptet de mne\gamemodes\RZF.pwn(227) : warning 219: local variable "string" shadows a variable at a preceding level

F:\Server scriptet de mne\gamemodes\RZF.pwn(236) : error 079: inconsistent return types (array & non-array)

F:\Server scriptet de mne\gamemodes\RZF.pwn(246) : error 079: inconsistent return types (array & non-array)

F:\Server scriptet de mne\gamemodes\RZF.pwn(254) : error 079: inconsistent return types (array & non-array)

F:\Server scriptet de mne\gamemodes\RZF.pwn(263) : error 079: inconsistent return types (array & non-array)

F:\Server scriptet de mne\gamemodes\RZF.pwn(271) : error 079: inconsistent return types (array & non-array)

F:\Server scriptet de mne\gamemodes\RZF.pwn(279) : error 079: inconsistent return types (array & non-array)

F:\Server scriptet de mne\gamemodes\RZF.pwn(285) : error 004: function "SendPlayerFormattedText" is not implemented

F:\Server scriptet de mne\gamemodes\RZF.pwn(286) : error 004: function "SendPlayerFormattedText" is not implemented

F:\Server scriptet de mne\gamemodes\RZF.pwn(287) : error 004: function "SendPlayerFormattedText" is not implemented

F:\Server scriptet de mne\gamemodes\RZF.pwn(288) : error 004: function "SendPlayerFormattedText" is not implemented

F:\Server scriptet de mne\gamemodes\RZF.pwn(289) : error 079: inconsistent return types (array & non-array)

F:\Server scriptet de mne\gamemodes\RZF.pwn(294) : error 004: function "SendPlayerFormattedText" is not implemented

F:\Server scriptet de mne\gamemodes\RZF.pwn(295) : error 004: function "SendPlayerFormattedText" is not implemented

F:\Server scriptet de mne\gamemodes\RZF.pwn(296) : error 004: function "SendPlayerFormattedText" is not implemented

F:\Server scriptet de mne\gamemodes\RZF.pwn(297) : error 004: function "SendPlayerFormattedText" is not implemented

F:\Server scriptet de mne\gamemodes\RZF.pwn(298) : error 004: function "SendPlayerFormattedText" is not implemented

F:\Server scriptet de mne\gamemodes\RZF.pwn(299) : error 079: inconsistent return types (array & non-array)

F:\Server scriptet de mne\gamemodes\RZF.pwn(304) : error 004: function "SendPlayerFormattedText" is not implemented

F:\Server scriptet de mne\gamemodes\RZF.pwn(305) : error 004: function "SendPlayerFormattedText" is not implemented

F:\Server scriptet de mne\gamemodes\RZF.pwn(306) : error 004: function "SendPlayerFormattedText" is not implemented

F:\Server scriptet de mne\gamemodes\RZF.pwn(307) : error 004: function "SendPlayerFormattedText" is not implemented

F:\Server scriptet de mne\gamemodes\RZF.pwn(308) : error 079: inconsistent return types (array & non-array)

F:\Server scriptet de mne\gamemodes\RZF.pwn(314) : error 017: undefined symbol "strtok"

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

26 Errors.[/pawn]

iar comanda este [pawn]if(!strcmp(cmdtext, "/glow", true))

{

    if(Glow[playerid] == 0)

    {

Glow[playerid] = 1;

format(newtext, sizeof(newtext), "~w~Glow~h~~b~  pornit.", dname);

                TextDrawSetString(healme, newtext);

                HideDraw(playerid);

                TextDrawShowForPlayer(playerid, healme);

                SetTimerEx("HideDraw", 3000, 0, "i", playerid);

    return 1;

}

else if(Glow[playerid] == 1)

{

Glow[playerid] = 0;

format(newtext, sizeof(newtext), "~w~Glow~h~~b~  oprit.", dname);

                TextDrawSetString(healme, newtext);

                HideDraw(playerid);

                TextDrawShowForPlayer(playerid, healme);

                SetTimerEx("HideDraw", 3000, 0, "i", playerid);

return 1;

}

}[/pawn].

                                                   

I'm back bitches.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Pune la inceputul gamemodului

[pawn]//==Glow -======================================================================

new  glow[MAX_PLAYERS];

new  MSecondsTimer;

new  GlowColor;

new  GlowColors[37] = {

      0xFF0000FF,

      0xFF4E00FF,

      0xFF7E00FF,

      0xFFA800FF,

      0xFFC000FF,

      0xFFD800FF,

      0xFFF600FF,

      0xEAFF00FF,

      0xD2FF00FF,

      0x9CFF00FF,

      0x3CFF00FF,

      0x00FF2AFF,

      0x00FF90FF,

      0x00FFBAFF,

      0x00FFF0FF,

      0x00F6FFFF,

      0x00C6FFFF,

      0x00BAFFFF,

      0x0096FFFF,

      0x0084FFFF,

      0x006CFFFF,

      0x004EFFFF,

      0x003CFFFF,

      0x0000FFFF,

      0x1200FFFF,

      0x3600FFFF,

      0x4E00FFFF,

      0x6C00FFFF,

      0x8A00FFFF,

      0xA800FFFF,

      0xC000FFFF,

      0xDE00FFFF,

      0xFF00F6FF,

      0xFF00A8FF,

      0xFF007EFF,

      0xFF0066FF,

      0xFF0036FF

};

[/pawn]

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.