how to fix this 1 error?
#1

Код:
C:\Documents and Settings\hardstop\Desktop\server(Uus Sьsteem)\gamemodes\server3.0.pwn(1037) : error 017: undefined symbol "file"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
i added this to my dialog

if(listitem == 0) //Suitsud
{
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_SMO KE_CIGGY);
GivePlayerMoney(playerid, -45);
dini_IntSet(file,"Alcohol", 1);


This is my dialog

Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{

	if (dialogid == 111)
	{
	if(response)
	{
	if(listitem == 0) //Suitsud
 	{
 	SetPlayerSpecialAction(playerid,SPECIAL_ACTION_SMOKE_CIGGY);
	GivePlayerMoney(playerid, -45);
	dini_IntSet(file,"Juua", 0);
	}
	if(listitem == 1) //Хlu
 	{
 	SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DRINK_BEER);
	GivePlayerMoney(playerid, -60);
	}
	if(listitem == 2) //
	{
	GivePlayerMoney(playerid, -85);
	}
	}
	return 1;
	}

  return 0;
}
Reply


Messages In This Thread
how to fix this 1 error? - by hardstop - 29.04.2010, 14:16
Re: how to fix this 1 error? - by MadeMan - 29.04.2010, 14:19
Re: how to fix this 1 error? - by [MWR]Blood - 29.04.2010, 14:21
Re: how to fix this 1 error? - by hardstop - 29.04.2010, 14:22
Re: how to fix this 1 error? - by MadeMan - 29.04.2010, 14:25
Re: how to fix this 1 error? - by hardstop - 29.04.2010, 14:42

Forum Jump:


Users browsing this thread: 1 Guest(s)