1
Scripting SA-MP [Pawn center] / Re : Débloquer une amunation
« le: 18 Mai 2008, 21:47:20 »
merci je vais testé
Cette section vous permet de consulter les contributions (messages, sujets et fichiers joints) d'un utilisateur. Vous ne pourrez voir que les contributions des zones auxquelles vous avez accès.
| else if(PlayerToPoint(20, i,292.0274,-36.0291,1001.5156)) {//Ammunation 1 GameTextForPlayer(i, "~r~En prison pour etre entré dans l'ammunation", 5000, 1); SetPlayerInterior(i, 6); SetPlayerPos(i,264.6288,77.5742,1001.0391); PlayerInfo[pJailTime] = 180; PlayerInfo[pJailed] = 1; } else if(PlayerToPoint(20, i,308.2740,-141.2833,999.6016)) {//Ammunation 2 GameTextForPlayer(i, "~r~En prison pour etre entré dans l'ammunation", 5000, 1); SetPlayerInterior(i, 6); SetPlayerPos(i,264.6288,77.5742,1001.0391); PlayerInfo[pJailTime] = 180; PlayerInfo[pJailed] = 1; } else if(PlayerToPoint(20, i,294.3212,-108.7869,1001.5156)) {//Ammunation 3 (small one's) GameTextForPlayer(i, "~r~En prison pour etre entré dans l'ammunation", 5000, 1); SetPlayerInterior(i, 6); SetPlayerPos(i,264.6288,77.5742,1001.0391); PlayerInfo[pJailTime] = 180; PlayerInfo[pJailed] = 1; } else if(PlayerToPoint(20, i,288.8592,-80.4535,1001.5156)) {//Ammunation 4 (small one's) GameTextForPlayer(i, "~r~En prison pour etre entré dans l'ammunation", 5000, 1); SetPlayerInterior(i, 6); SetPlayerPos(i,264.6288,77.5742,1001.0391); PlayerInfo[pJailTime] = 180; PlayerInfo[pJailed] = 1; } else if(PlayerToPoint(20, i,316.9583,-165.4707,999.6010)) {//Ammunation 5 (Unprotected) GameTextForPlayer(i, "~r~En prison pour etre entré dans l'ammunation", 5000, 1); SetPlayerInterior(i, 6); SetPlayerPos(i,264.6288,77.5742,1001.0391); PlayerInfo[pJailTime] = 180; PlayerInfo[pJailed] = 1; |