Jump to content
  • 0

Problema Samp


coolboy000

Question

D:\FunFoRYou RPG\FunFoRYou RPG\FunFoRYou RPG\pawno\include\streamer.inc(393) : warning 201: redefinition of constant/macro (symbol "OnPlayerEnterRaceCheckpoint")

D:\FunFoRYou RPG\FunFoRYou RPG\FunFoRYou RPG\gamemodes\FunFoRYou.pwn(13589) : warning 213: tag mismatch

D:\FunFoRYou RPG\FunFoRYou RPG\FunFoRYou RPG\gamemodes\FunFoRYou.pwn(47412) : error 029: invalid expression, assumed zero

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

1 Error.

Si linile sunt

if(strcmp(cmd, "/takeguns", true) == 0)

{

    if(IsPlayerConnected(playerid))

    {

                      if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5 || PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6 || PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15 || PlayerInfo[playerid][pLeader] == 14 || (PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 13 || PlayerInfo[playerid][pMember] == 13)

    {

                if(PlayerToPoint(3.0,playerid,964.106994,-53.205497,1001.124572) || PlayerToPoint(3.0,playerid,2576.4507,-1300.2321,1060.9844) || PlayerToPoint(3.0,playerid,1302.519897,-1.787510,1001.028259) || PlayerToPoint(3.0,playerid,501.980987,-69.150199,998.757812) || PlayerToPoint(3.0,playerid,-2159.122802,641.517517,1052.381713))

                {

                      }

                  else

                  {

    SendClientMessage(playerid, COLOR_GRAD2, "Felicitari!! Ai Luat Arme din HQ Pentru 2000$");

    GivePlayerWeapon(playerid,24,50);//

GivePlayerWeapon(playerid,30,50);

    GivePlayerMoney(playerid,-2000);//

    return 1;

                }

          }

                }

        return 1;

        }

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Titlu,ai postat in sectiunea gresita,2x post

Warn+lock topic.

Da sa nu zici ca sunt rau uite aici.

[pawn] if(strcmp(cmd, "/takeguns", true) == 0)

{

if(IsPlayerConnected(playerid))

{

if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5 || PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6 || PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15 || PlayerInfo[playerid][pLeader] == 14 || PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 13 || PlayerInfo[playerid][pMember] == 13)

{

if(PlayerToPoint(3.0,playerid,964.106994,-53.205497,1001.124572) || PlayerToPoint(3.0,playerid,2576.4507,-1300.2321,1060.9844) || PlayerToPoint(3.0,playerid,1302.519897,-1.787510,1001.028259) || PlayerToPoint(3.0,playerid,501.980987,-69.150199,998.757812) || PlayerToPoint(3.0,playerid,-2159.122802,641.517517,1052.381713))

{

SendClientMessage(playerid, COLOR_GRAD2, "Felicitari!! Ai Luat Arme din HQ Pentru 2000$");

GivePlayerWeapon(playerid,24,50);//

GivePlayerWeapon(playerid,30,50);

GivePlayerMoney(playerid,-2000);//

}

                else

{

    SendClientMessage(playerid, COLOR_GRAD2, "Nu esti la HQ");

}

}

}

    return 1;

}[/pawn]

gXvsYS
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.