Pozdrav kada compilujem scriptu dobijam sledecu gresku, moze pomoc?
C:\Users\Vinjaak\Desktop\Untitled.pwn(35) : warning 217: loose indentation
C:\Users\Vinjaak\Desktop\Untitled.pwn(101) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Warnings.
[pawn]// This little script was scripted by KotoK.
#include <a_samp>
#include <core>
#include <float>
#define FILTERSCRIPT
#define GREENCOLOR 0x33AA33AA
#define WHITECOLOR 0xFFFFFFAA
#define GREYCOLOR 0xD8D8D8FF
#define YELLOWCOLOR 0xDABB3EAA
forward finished(playerid);
new cmd[256];
new smoking[MAX_PLAYERS];
new cigarette[MAX_PLAYERS];
new lighter[MAX_PLAYERS];
public OnFilterScriptInit()
{
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
public OnPlayerConnect(playerid)
{
smoking[playerid] = 0;
cigarette[playerid] = 0;
lighter[playerid] = 0;
return 1;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(response)
{
if(dialogid == 0)
{
SendClientMessage(playerid, GREYCOLOR, "Kupio si rizle! da vidis pomoc kucaj /rhelp!");
cigarette[playerid] += 1;
return 1;
}
if(dialogid == 1)
{
SendClientMessage(playerid, GREYCOLOR, "Kupio si upaljac! da vidis pomoc kucaj /rhelp!");
lighter[playerid] += 1;
return 1;
}
}
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmd, "/rhelp", true) == 0)
{
SendClientMessage(playerid, GREENCOLOR, "komande za buksnu");
SendClientMessage(playerid, WHITECOLOR, "/popusidzoint, /kupizla, /baci.");
return 1;
}
if(strcmp(cmd, "/kupizla", true) == 0)
{
ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST,"Zla Zla Shop","Rizle\nUpaljac","Kupi","Odustani");
}
if(strcmp(cmd, "/baci", true) == 0)
{
SendClientMessage(playerid, WHITECOLOR, "Bacio si svoje rizle i upaljac!");
lighter[playerid] = 0;
cigarette[playerid] = 0;
return 1;
}
if(strcmp(cmd, "/zapalibuksnu", true) == 0)
{
if(smoking[playerid] == 1)
{
SendClientMessage(playerid, GREYCOLOR, "Zapalio si buksnu!");
return 1;
}
if(cigarette[playerid] == 0)
{
SendClientMessage(playerid, GREYCOLOR, "Da bi zapalio buksnu, moras da kupis rizle!");
return 1;
}
if(lighter[playerid] == 0)
{
SendClientMessage(playerid, GREYCOLOR, "Da bi zapalio buksnu, moras da kupis upaljac!");
return 1;
}
if(smoking[playerid] == 1)
{
SendClientMessage(playerid, YELLOWCOLOR, "Zapalio si buksnu posle 2 minute ce nestati..");
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_SMOKE_CIGGY);
SetTimerEx("finished", 200000, 0, "i", playerid);
cigarette[playerid] -= 1;
lighter[playerid] -= 1;
return 1;
}
}
return 1;
}
public finished(playerid)
{
SendClientMessage(playerid, YELLOWCOLOR, "Naduvao si se, kucaj /baci da bi bacio rizle i upaljac!");
ClearAnimations(playerid);
return 1;
}[/pawn]
Napisi koja je 35 linija i 101
Citat: Emo poslato Mart 22, 2018, 22:50:39 POSLE PODNE
Napisi koja je 35 linija i 101
Sta ti ima pisat samo te dvije linije poravna sta ostalima i tjt
Citat: нÑÏ...Ñ•Ñ,αиσνιÏ, poslato Mart 22, 2018, 23:02:04 POSLE PODNE
Sta ti ima pisat samo te dvije linije poravna sta ostalima i tjt
ma ne cita lik uopste..
ae pravila