Some stupid errors, need a help
#1

Hello Today i update my YSI with latest Files and when i add it like #Include in my Gamemode i have this error :

This is my Gamemode Include's line :
pawn Код:
#include <a_samp>
#include <Dini>
#include <streamer>
#include <foreach>
#define MODE_NAME "BG RC RP 1"
#include <YSI\y_svar>
static gTeam[MAX_PLAYERS];
pawn Код:
(174)error 025: function heading differs from prototype
pawn Код:
(15002)error 035: argument type mismatch (argument 2)
pawn Код:
(15064)error 035: argument type mismatch (argument 2)
pawn Код:
(15128)error 035: argument type mismatch (argument 2)
pawn Код:
(25194)error 035: argument type mismatch (argument 2)
pawn Код:
forward split(const strsrc[], strdest[][], delimiter);//172
forward OnPlayerRegister(playerid, password[]);//173
forward OnPlayerLogin(playerid, password[]);//174
forward OnPlayerDataSave(playerid);//175
pawn Код:
new tmppass[64];//15001
OnPlayerLogin(playerid,tmppass);//15002
pawn Код:
public OnPlayerLogin(playerid, uid)//15059
{//15060
    new string2[256], keystring[256];//15061
    format(string2, sizeof(string2), "%s.ini", PlayerName(playerid));//15062
    keystring = dini_Get(string2, "Key");//15063
    if(strcmp(keystring, uid, true) == 0)//15064
    {//15065
pawn Код:
SendClientMessage(playerid, COLOR_WHITE,string2);//15126
    GetPlayerIp(playerid, PlayerInfo[playerid][pIP], 21);//15127
    strmid(PlayerInfo[playerid][pKey], uid, 0, strlen(password), 255);//15128
pawn Код:
new tmp[64];//25192
                strmid(tmp, inputtext, 0, strlen(inputtext), 255);//25193
                OnPlayerLogin(playerid,tmp);//25194
Please help me to fix it. I trying all day
Reply


Messages In This Thread
Some stupid errors, need a help - by Yordan_Kronos - 06.07.2013, 14:32
Re : Some stupid errors, need a help - by Chadi - 06.07.2013, 14:49
Re: Some stupid errors, need a help - by Yordan_Kronos - 06.07.2013, 15:16
Re: Some stupid errors, need a help - by Yordan_Kronos - 06.07.2013, 17:28
Re: Some stupid errors, need a help - by Konstantinos - 06.07.2013, 17:30
Re: Some stupid errors, need a help - by Yordan_Kronos - 06.07.2013, 17:44
Re: Some stupid errors, need a help - by Konstantinos - 06.07.2013, 17:49
Re: Some stupid errors, need a help - by Yordan_Kronos - 06.07.2013, 18:17
Re: Some stupid errors, need a help - by Konstantinos - 06.07.2013, 19:34
Re: Some stupid errors, need a help - by Yordan_Kronos - 06.07.2013, 21:28

Forum Jump:


Users browsing this thread: 2 Guest(s)