Jump to content

Question

Posted (edited)

Salut, am si eu o problema cu include ul y_ini. Primesc eroare "error 035: argument type mismatch (argument 1)" cand Incerc sa folosesc INI_Int. Stie cineva de ce? 

function LoadInfo_data(playerid, name[], value[]) {
    INI_Int("Methylamine", PI[playerid][ppMethalyne]);
    INI_Int("Phenylacetone", PI[playerid][ppPheny]);
    INI_Int("Gasoline", PI[playerid][ppGasoline]);
    INI_Int("Meth", PI[playerid][ppMeth]);
    INI_Int("MethT", PI[playerid][ppMethTime]);
    INI_Int("Radio", PI[playerid][ppRadioactive]);
    INI_Int("Storage", PI[playerid][ppStorage]);
    INI_Int("Cooker", PI[playerid][ppCooker]);
    INI_Int("Staff", PI[playerid][ppStaff]);
    //INI_Int("PersonalVeh", PI[playerid][ppPersVeh]);
    INI_Int("PersonalVeh", PI[playerid][ppPersVeh]);
    return 1;
}

image.png.c9041dbf8adeea53a262546309138653.png

 

Edited by Miki DUTZA

3 answers to this question

Recommended Posts

  • 0
Posted
17 hours ago, Miki DUTZA said:

Salut, am si eu o problema cu include ul y_ini. Primesc eroare "error 035: argument type mismatch (argument 1)" cand Incerc sa folosesc INI_Int. Stie cineva de ce? 

function LoadInfo_data(playerid, name[], value[]) {
    INI_Int("Methylamine", PI[playerid][ppMethalyne]);
    INI_Int("Phenylacetone", PI[playerid][ppPheny]);
    INI_Int("Gasoline", PI[playerid][ppGasoline]);
    INI_Int("Meth", PI[playerid][ppMeth]);
    INI_Int("MethT", PI[playerid][ppMethTime]);
    INI_Int("Radio", PI[playerid][ppRadioactive]);
    INI_Int("Storage", PI[playerid][ppStorage]);
    INI_Int("Cooker", PI[playerid][ppCooker]);
    INI_Int("Staff", PI[playerid][ppStaff]);
    //INI_Int("PersonalVeh", PI[playerid][ppPersVeh]);
    INI_Int("PersonalVeh", PI[playerid][ppPersVeh]);
    return 1;
}

image.png.c9041dbf8adeea53a262546309138653.png

 

Ce versiune de Y_INI ai?

  • 0
Posted
1 hour ago, Miki DUTZA said:

ultima versiune.

Incearca sa folosesti in felul urmator:

Quote
forward LoadInfo_data(playerid, name[], value[]);
public LoadInfo_data(playerid, name[], value[]){
    //ce ai tu nevoie
}

 

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.