warning 202: number of arguments does not match definition [PLEASE HELP]
#1

Hey Guys I Keep Getting these Warning on these lines Thanks for the help

warning 202: number of arguments does not match definition
warning 202: number of arguments does not match definition
warning 202: number of arguments does not match definition
warning 202: number of arguments does not match definition
warning 202: number of arguments does not match definition
warning 202: number of arguments does not match definition
warning 202: number of arguments does not match definition
warning 202: number of arguments does not match definition
warning 202: number of arguments does not match definition
warning 202: number of arguments does not match definition

{
if(PlayerInfo[playerid][Skin] != GetPlayerSkin(playerid))
PlayerInfo[playerid][Skin] = GetPlayerSkin(playerid);
{
}
if(PlayerInfo[playerid][Armour] != GetPlayerArmour(playerid))
PlayerInfo[playerid][Armour] = GetPlayerArmour(playerid);
{
}
if(PlayerInfo[playerid][Angle] != GetPlayerFacingAngle(playerid))
PlayerInfo[playerid][Angle] = GetPlayerFacingAngle(playerid);
{
}
if(PlayerInfo[playerid][Interior] != GetPlayerInterior(playerid))
PlayerInfo[playerid][Interior] = GetPlayerInterior(playerid);
{
}
if(PlayerInfo[playerid][VirtualWorld] != GetPlayerVirtualWorld(playerid))
PlayerInfo[playerid][VirtualWorld] = GetPlayerVirtualWorld(playerid);
}
Reply
#2

Maybe try

if(PlayerInfo[playerid][Skin] !== GetPlayerSkin(playerid))
PlayerInfo[playerid][Skin] == GetPlayerSkin(playerid);
and so on..

just add double '='
Reply
#3

some of these functions need a variable passed to them, where they store their values in. you can search the functions on the wiki, youll see how they are made up there.
Reply
#4

Nah That Gve me errors what im trying to do is telling it that

PlayerInfo[playerid][Skin] = GetPlayerSkin(playerid);

so that on disconnect it recognises that

dini_IntSet(file, "Skin",PlayerInfo[playerid][Skin]);

is to get the players skin and save it in the file I hope that's not confusing
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)