Another problem :S
#1

Hi
I have something for my roleplay gamemode i dont know how to tell that
With that command i can add drugs money in a safe
but i have an error can you help me ?

pawn Код:
F:\Users\Daniel\Desktop\GamingClub RolepLay\gamemodes\DreamWorld.pwn(2951) : error 004: function "SaveSefDrogaSystem" is not implemented
F:\Users\Daniel\Desktop\GamingClub RolepLay\gamemodes\DreamWorld.pwn(2962) : error 004: function "SaveSefDrogaSystem" is not implemented
F:\Users\Daniel\Desktop\GamingClub RolepLay\gamemodes\DreamWorld.pwn(2977) : error 004: function "SaveSefPariSystem" is not implemented
F:\Users\Daniel\Desktop\GamingClub RolepLay\gamemodes\DreamWorld.pwn(2988) : error 004: function "SaveSefPariSystem" is not implemented
F:\Users\Daniel\Desktop\GamingClub RolepLay\gamemodes\DreamWorld.pwn(2999) : error 004: function "SaveSefMatsSystem" is not implemented
F:\Users\Daniel\Desktop\GamingClub RolepLay\gamemodes\DreamWorld.pwn(3014) : error 004: function "SaveSefMatsSystem" is not implemented
Reply
#2

Because obviusly you have copy pasted the command,but not the function...or show us the code,but I still think that I am right.
Reply
#3

this command i have take from another gamemode
do you think that i dont copy/paste all the command/function ?
Reply
#4

then show the command and the code
Reply
#5

there is the public

pawn Код:
public SaveSefDrogaSystem()
{
    new coordsstring[256];
    format(coordsstring, sizeof(coordsstring), "%d,%d,%d,%d", droga[lcndroga], droga[ydroga], droga[lsgdroga], droga[gsfdroga]);
    new File: file2 = fopen("sefovi/droga.ini", io_write);
    fwrite(file2, coordsstring);
    fclose(file2);
    return 1;
}
Reply
#6

It's not problem in function.
Post the code and Ill fix it
Reply
#7

Quote:
Originally Posted by KappaCro
Посмотреть сообщение
It's not problem in function.
Post the code and Ill fix it
I dont understand you?What code?
Reply
#8

pawn Код:
forward SaveSefDrogaSystem();
public SaveSefDrogaSystem()
{
    new coordsstring[256];
    format(coordsstring, sizeof(coordsstring), "%d,%d,%d,%d", droga[lcndroga], droga[ydroga], droga[lsgdroga], droga[gsfdroga]);
    new File: file2 = fopen("sefovi/droga.ini", io_write);
    fwrite(file2, coordsstring);
    fclose(file2);
    return 1;
}
And he meant the code with the command
Reply
#9

I have forwardet
Reply
#10

Look this it is ok?

look this is it ok?

pawn Код:
if(dialogid == 7005)//LCN SEF, STAVAJNE DROGA
        {
                new cashdeposit = strval(inputtext);
                if(cashdeposit < 1)  { SendClientMessage(playerid, COLOR_GREY, "{FF4040}GRESKA:{FFFFFF}Sumata nemoze da bide pod 0."); return 1; }
                if (cashdeposit > PlayerInfo[playerid][pDrugs])  { SendClientMessage(playerid, COLOR_WHITE, "{FF4040}GRESKA:{FFFFFF}Nemate tolku droga."); return 1; }
                PlayerInfo[playerid][pDrugs] -= cashdeposit;
                new curfunds = droga[lcndroga];
                droga[lcndroga]=cashdeposit+droga[lcndroga];
                SendClientMessage(playerid, COLOR_WHITE, "|____ LCN SEF ____|");
                format(string, sizeof(string), "  Staveno: $%d",cashdeposit);
                SendClientMessage(playerid, COLOR_GRAD4, string);
                format(string, sizeof(string), "  Nov Status: $%d", droga[lcndroga]);
                SendClientMessage(playerid, COLOR_WHITE, string);
                SaveSefDrogaSystem();
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)