12.09.2010, 15:48
Код:
new hitman;
Код:
//---------------------------------[hitman]------------------------- if(!strcmp(cmdtext, "/hov", true)) { if(PlayerInfo[playerid][pLeader] == 8 || PlayerInfo[playerid][pMember] == 8) { if (IsPlayerInRangeOfPoint(playerid, 15,1589.053344,-1638.123168,14.122960)) { MoveDynamicObject(hitman,1598.22998047,-1638.01293945,14.72591591, 0.8); SetTimer("GateClose20", 12000, 0); SendClientMessage(playerid, COLOR_BLUE,"Door will be open in 7 sec."); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* %s he opens/close hitman gate.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); } else { SendClientMessage(playerid, COLOR_GREY,"You are not at the place."); } } else return SendClientMessage(playerid, COLOR_GREY,"No rights."); return 1; }
Код:
forward GateClose20(playerid);
Код:
public GateClose20(playerid) { MoveDynamicObject(hitman,1589.97998047,-1638.12976074,14.72591591, 3.5); return 1; }
Код:
//Pd baza hitman = CreateDynamicObject(971,1589.053344,-1638.123168,14.122960,0.000000,0.000000,180);
![](/imageshack/img203/3905/samp047jf.png)
![](/imageshack/img844/4903/samp048o.png)
![](/imageshack/img828/1534/samp049bu.png)
What is wrong ? Why i cant see door ? Im using Incognito's Streamer and its updated for 0.3b
All other objects work normal only gates not? why please help me!