29.04.2010, 14:16
Код:
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.
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; }