06.07.2013, 14:32
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 :
Please help me to fix it. I trying all day
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