Jump to content
  • 0

[GF/RP] [Ajutati-ma] Problema


Question

Posted

Salut imi da 2 eroari la Gm !! [pawn]C:\DOCUME~1\Crystyan\Desktop\Teddy23.pwn(286) : warning 201: redefinition of constant/macro (symbol "COLOR_SEA")

C:\DOCUME~1\Crystyan\Desktop\Teddy23.pwn(3086) : error 025: function heading differs from prototype

C:\DOCUME~1\Crystyan\Desktop\Teddy23.pwn(3099) : error 025: function heading differs from prototype

C:\DOCUME~1\Crystyan\Desktop\Teddy23.pwn(11135) : warning 209: function "JB_OnPlayerConnect" should return a value

C:\DOCUME~1\Crystyan\Desktop\Teddy23.pwn(11136) : error 010: invalid function or declaration

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

[/pawn]

[pawn]public SendGMMessage(color, string[])

{

for(new i = 0; i < MAX_PLAYERS; i++)

{

if(IsPlayerConnected(i))

{

    if(PlayerInfo[pHelper] >= 1)

    {

SendClientMessage(i, color, string);

}

}

}

}

public SendGMAMessage(color, string[])

{

  for(new i = 0; i < MAX_PLAYERS; i++)

{

if(IsPlayerConnected(i))

{

    if(PlayerInfo[pAdmin] >= 1 || PlayerInfo[pHelper] >= 1)

    {

              if(!gGMA)

              {

SendClientMessage(i, color, string);

  }

}

}

}

}

[/pawn]

1 answer to this question

Recommended Posts

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.