AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Pawno Error Problem (https://forums.alliedmods.net/showthread.php?t=220054)

yordanteam4 07-06-2013 10:17

Pawno Error Problem
 
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 :
Code:
#include <a_samp> #include <Dini> #include <streamer> #include <foreach> #define MODE_NAME "BG RC RP 1" #include <YSI\y_svar> static gTeam[MAX_PLAYERS];

Code:
(174)error 025: function heading differs from prototype
Code:
(15002)error 035: argument type mismatch (argument 2)
Code:
(15064)error 035: argument type mismatch (argument 2)
Code:
(15128)error 035: argument type mismatch (argument 2)
Code:
(25194)error 035: argument type mismatch (argument 2)

Code:
forward split(const strsrc[], strdest[][], delimiter);//172 forward OnPlayerRegister(playerid, password[]);//173 forward OnPlayerLogin(playerid, password[]);//174 forward OnPlayerDataSave(playerid);//175

Code:
new tmppass[64];//15001 OnPlayerLogin(playerid,tmppass);//15002

Code:
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

Code:
SendClientMessage(playerid, COLOR_WHITE,string2);//15126     GetPlayerIp(playerid, PlayerInfo[playerid][pIP], 21);//15127     strmid(PlayerInfo[playerid][pKey], uid, 0, strlen(password), 255);//15128

Code:
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 :(

YamiKaitou 07-06-2013 11:17

Re: Pawno Error Problem
 
We only support AMXModX for GoldSrc games here. Not sure what game you are using, but it doesn't look link any GoldSrc or Source1 game


All times are GMT -4. The time now is 06:23.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.