As vrea ca portile de la LSPD sa se deschida singure cand claxonezi...Ma puteti ajuta va rog? Iuta-ti aici ce e pus in GM
//================================[ LSPD GATE ]=============================================================
if(strcmp(cmd, "/barierop", true) == 0)
{
if(IsPlayerConnected(playerid))
{
SetObjectRot(bariera, 0, 0, 270);
SendClientMessage(playerid, COLOR_BLUE, "Police Gate is being Opened");
}
}
if(strcmp(cmd, "/bariercl", true) == 0)
{
if(IsPlayerConnected(playerid))
{
SetObjectRot(bariera, 0, 270, 270);
SendClientMessage(playerid, COLOR_YELLOW, "Police Gate is being Closed");
}
}
//=========================================================================================================
if(strcmp(cmd, "/lspdop", true) == 0)
{
if(IsPlayerConnected(playerid))
{
MoveObject(lspdgate,1588.84, -1637.89, 7.18,2);
SendClientMessage(playerid, COLOR_BLUE, "Police Gate is being Opened");
}
return 1;
}
if(strcmp(cmd, "/lspdcl", true) == 0)
{
if(IsPlayerConnected(playerid))
{
MoveObject(lspdgate,1588.84, -1637.89, 13.18,2);
SendClientMessage(playerid, COLOR_YELLOW, "Police Gate is being Closed");
}
return 1;
}
Portile sunt manuale dar vreau automatice [move]Multumesc Anticipat[/move]