- 0
probleme la porti "gate!
-
Similar Content
-
- 6 answers
- 77 views
-
- 0 answers
- 77 views
-
- 0 replies
- 32 views
-
- 3 replies
- 71 views
-
- 5 replies
- 81 views
-
-
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
Saringan_cs
poi tre sa dau de vreo 3-4 ori /opengatetaxi sa mi si deschida .. si cateodata imi ramane blocata sus si tre sa dau /opengatetaxi sa mi se inchida ..
Aici e la OnPlayerCommandText
[pawn]if(strcmp(cmdtext, "/opengatetaxi", true) == 0)
{
if(PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10)
{
if(PlayerToPoint(10,playerid,1809.9000244141, -1889.8000488281, 20.200000762939))
{
GetPlayerName(playerid, sendername, sizeof(sendername));
MoveObject(gatetaxi,1809.9000244141, -1889.8000488281, 15.199999809265,5.0);
SetTimerEx("gatetaxiclose",5000,false,"d",playerid);
format(string, sizeof(string), "* %s Has open the Taxi gate *", sendername);
ProxDetector(10.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
}
}[/pawn]
Forward
[pawn]forward gatetaxiclose();[/pawn]
CreateObject
[pawn]gatetaxi = CreateObject(980, 1809.9000244141, -1889.8000488281, 15.199999809265, 0, 0, 270);[/pawn]
Acici in jos la Public
[pawn]public gatetaxiclose() //
{
MoveObject(gatetaxi,1809.9000244141, -1889.8000488281, 20.200000762939,5.0);
}[/pawn]
Ce am facut gresit please help me
Link to comment
Share on other sites
4 answers to this question
Recommended Posts