04.04.2010, 14:10
' /entrer ' :
' /sortir ' :
Code:
else if (PlayerToPoint(2.0, playerid,-2111.5964,1369.9677,16.1505)) { GameTextForPlayer(playerid, "~w~Bienvenue a la villa des Diablos", 5000, 1); // Villa Q.G Diablos GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* %s ouvre la porte de la villa", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerInterior(playerid,3); SetPlayerPos(playerid,974.5428,-8.2656,1001.1484); }
Code:
else if (PlayerToPoint(2.0, playerid,974.4650,-8.7245,1001.1484)) { GameTextForPlayer(playerid, "~w~Merci et au revoir !", 5000, 1); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* %s ferme la porte de la villa", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerInterior(playerid, 3); // ID Intйrieur villa Diablos SetPlayerPos(playerid,-2111.2549,1366.4883,15.0394); }