13.07.2011, 12:46
Wtf?! If I do /tinnogate it says Opening and it opens, then I do /tinnogate1 and it says Opening and nothing happens! What is wrong here?
pawn Код:
if(strcmp("/tinnogate", cmdtext, true, 10) == 0)
{
if(!IsPlayerLuxAdminLevel(playerid,3)) return SendClientMessage(playerid, 0xFF0000FF, "This Command Can Only Be Used By Authorized Person");
{
GameTextForPlayer(playerid, "Opening!", 3000, 4);
MoveObject(tinno, 1286.86, -611.55, 106.62, 2.0);
}
return 1;
}
if(strcmp("/tinnogate1", cmdtext, true, 10) == 0)
{
if(!IsPlayerLuxAdminLevel(playerid,3)) return SendClientMessage(playerid, 0xFF0000FF, "This Command Can Only Be Used By Authorized Person");
{
GameTextForPlayer(playerid, "Closing!", 3000, 4);
MoveObject(tinno, 1286.86, -611.55, 101.13, 2.0);
}
return 1;
}