10.07.2013, 13:45
Hello I got some scripting problems at my project :P so I need someone to help me fix this, how can I check that doors are closed/open ?
here is a code what I've tried
And I got those warnings:
How can I make this working ? :/
Thank you for help in advance
here is a code what I've tried
pawn Код:
case 0:
{
if (Close = 1)
{
SendClientMessage(playerid,0xAA3333AA,"INFO: Those doors are already closed!");
}
else
{
MoveObject(Jail1,1575.4000244,-1704.5999756,3620.5000000,1.0);// Closing gates at jail cell 1
Close = 1;
}
}
pawn Код:
C:\Users\Bohinec Nejc\Desktop\Scripting\gamemodes\NEW.pwn(186) : warning 211: possibly unintended assignment
C:\Users\Bohinec Nejc\Desktop\Scripting\gamemodes\NEW.pwn(204) : warning 204: symbol is assigned a value that is never used: "Close"
Thank you for help in advance
