- 0
Problema poarta
-
Similar Content
-
- 2 answers
- 628 views
-
Problema turf
By Soryn.,
- 3 answers
- 404 views
-
- 0 replies
- 156 views
-
- 2 replies
- 331 views
-
- 1 reply
- 204 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
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]
Link to comment
Share on other sites
1 answer to this question
Recommended Posts