Hmmh .. I did smthing wrong or its just me.....
#1

Код:
error 017: undefined symbol "ShowDialog"
error 017: undefined symbol "params"
Код:
	
        if(dialogid == DIALOG_ERROR)
	{
		ShowDialog(playerid, DialogReturn[playerid]); //starts from here
		return 1;
	}
Код:
	
        if(!strcmp(cmdtext, "/deletefs", true, 9))
	{
		if(!IsAdmin(playerid, 1)) return SendClientMessage(playerid, COLOR_RED, "You are not admin!");
		new stationid, msg[128];
		if(sscanf(params, "d", stationid)) return SendClientMessage(playerid, COLOR_GREY, "USAGE: /deletefs [stationid]");  //this line
		if(!IsValidFuelStation(stationid)) return SendClientMessage(playerid, COLOR_RED, "Invalid stationid!");
		FuelStationCreated[stationid] = 0;
		Delete3DTextLabel(FuelStationLabel[stationid]);
		SaveFuelStation(stationid);
		format(msg, sizeof(msg), "Deleted fuel station id %d", stationid);
		SendClientMessage(playerid, COLOR_WHITE, msg);
		return 1;
	}
Please help me out
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)