if (strcmp(cmdtext, "/bopen", true) == 0)
{
if(PlayerInfo[playerid][pFaction] != 255 && DynamicFactions[PlayerInfo[playerid][pFaction]][fType] == 1)
{
MoveObject(lspdbarrier, 1544.713013, -1630.845947, 13.129566, 1000);
return 1;
//lspdbarrier = CreateObject(968, 1544.713013, -1630.845947, 13.129566, 0.0000, 0.0000, 90.0000);
}
else
{
SendClientMessage(playerid, COLOR_GREY, "You are not a cop!");
}
return 1;
}
if (strcmp(cmdtext, "/bclose", true) == 0)
{
if(PlayerInfo[playerid][pFaction] != 255 && DynamicFactions[PlayerInfo[playerid][pFaction]][fType] == 1)
{
MoveObject(lspdbarrier, 1544.720581, -1630.904663, 13.257036, 1000);
return 1;
}
else
{
SendClientMessage(playerid, COLOR_GREY, "You are not a cop!");
}
return 1;
}
lspdbarrier = CreateObject(968, 1544.720581, -1630.904663, 13.257036, 0.0000, 91.1002, 90.0000);//PD Close
// lspdbarrier = CreateObject(968, 1544.713013, -1630.845947, 13.129566, 0.0000, 0.0000, 90.0000);//PD Open
483|386.869873|2453.238281|16.500000|1.564520|-1|-1|255|0
|
Originally Posted by Swift_
1) Don't bump topics. Especially when they're not even a day old ffs.
2) S-E-A-R-C-H |