Jump to content
  • 0

Problema compilare


IonFlorescu

Question

Undefined symbol SetPlayerCash, De ce imi da eroarea asta?

 

Liniile:
        if(IsPlayerConnected(playerid))
        {
              if(PlayerInfo[playerid][pLevel] == 1)
            {
                PlayerInfo[playerid][pLevel] += 2;
                SetPlayerCash(playerid, 5000000);
                SendClientMessage(playerid,COLOR_LIGHTGREEN,"{FFA500}==================={FF0000} [{E0FFFF}Bonus{FF0000}] {FFA500}===================");
                SendClientMessage(playerid,COLOR_LIGHTGREEN,"{CCDEE0}Ai primit {00FA1D}3 LevelUP");
                SendClientMessage(playerid,COLOR_LIGHTGREEN,"{CCDEE0}Ai primit {FFA500}5.000.000{00FA1D}$$ ");
                SendClientMessage(playerid,COLOR_LIGHTGREEN,"{FFA500}==================={FF0000} [{E0FFFF}Bonus{FF0000}] {FFA500}===================");
            }
            else

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0
La 20.09.2016 la 23:29, IonFlorescu a spus:

Undefined symbol SetPlayerCash, De ce imi da eroarea asta?

 

Liniile:
        if(IsPlayerConnected(playerid))
        {
              if(PlayerInfo[playerid][pLevel] == 1)
            {
                PlayerInfo[playerid][pLevel] += 2;
                SetPlayerCash(playerid, 5000000);
                SendClientMessage(playerid,COLOR_LIGHTGREEN,"{FFA500}==================={FF0000} [{E0FFFF}Bonus{FF0000}] {FFA500}===================");
                SendClientMessage(playerid,COLOR_LIGHTGREEN,"{CCDEE0}Ai primit {00FA1D}3 LevelUP");
                SendClientMessage(playerid,COLOR_LIGHTGREEN,"{CCDEE0}Ai primit {FFA500}5.000.000{00FA1D}$$ ");
                SendClientMessage(playerid,COLOR_LIGHTGREEN,"{FFA500}==================={FF0000} [{E0FFFF}Bonus{FF0000}] {FFA500}===================");
            }
            else

Pentru ca tu folosesti o functie/subprogram SetPlayerCash care nu exista la tine in GameMode

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.