- 0
Problema poarta
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
gabydemocray
Deci se ridica poarta sus da nu mai coboara jos:
uitati cum am comanda:
[pawn]//----------------------------------[bE-Gate]-----------------------------------------
if(strcmp(cmdtext, "/poarta", true) == 0)
{
if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)
{
if(PlayerToPoint(10,playerid,785.38690186,-1152.45471191,25.34807777))
{
GetPlayerName(playerid, sendername, sizeof(sendername));
MoveObject(BPD,785.57965088,-1151.99633789,36.90230560,5.0);
SetTimerEx("BPDclose",5000,false,"d",playerid);
format(string, sizeof(string), "* %s takes out a remote control and opens the gate *", sendername);
ProxDetector(10.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
else
{
SendClientMessage(playerid, COLOR_WHITE, " You are not near the door !");
}
}
}[/pawn]
[pawn]public BPDclose()
{
MoveObject(begate,785.38690186,-1152.45471191,25.34807777,5.0);
}[/pawn]
1 answer to this question
Recommended Posts