Do a Auto gate when i prees h
#1

how can i add a automatic gate when i press h and no when i write the command /opengate
Quote:

} else if ((PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16) && PlayerToPoint(15.0, playerid, 1518.4741,2773.7612,10.6719)) {//Cuneo gate
MoveDynamicObject( cuneogate, 1524.13671875, 2773.29394531, 5.34656525,1);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s uses his remore to open the gate.!", sendername);
ProxDetector(4.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);
GameTextForPlayer(playerid, "~g~Opened", 5000, 3);
SetTimer("CuneoHQGateClose", 10000, false);

Reply


Messages In This Thread
Do a Auto gate when i prees h - by marik1599 - 08.05.2011, 21:30
Re: Do a Auto gate when i prees h - by TheYoungCapone - 08.05.2011, 21:35
Re: Do a Auto gate when i prees h - by marik1599 - 08.05.2011, 21:41
Re: Do a Auto gate when i prees h - by marik1599 - 08.05.2011, 21:52

Forum Jump:


Users browsing this thread: 1 Guest(s)