11.11.2013, 11:56
My gamemode has 1 bug but I can't fix it so plz help me
!!
Sceenshot :
This is a bug's code![Cheesy](images/smilies/biggrin.png)
![Cheesy](images/smilies/biggrin.png)
Sceenshot :
![](http://i55.servimg.com/u/f55/17/57/29/64/abc10.jpg)
This is a bug's code
![Cheesy](images/smilies/biggrin.png)
Код:
if(GetPVarInt(i, "EMSAttempt") == 3) { if(IsPlayerInAnyVehicle(i)) { new ambmodel = GetPlayervID(i); if(IsAnAmbulance(ambmodel)) { GameTextForPlayer(i, "~g~Giup voiii~n~~w~Cho doi EMS mang den Benh Vien...", 5000, 3); } else { SendClientMessage(i, COLOR_WHITE, "You fell unconscious due to no life support, you were immediately sent to the hospital."); KillEMSQueue(i); SpawnPlayer(i); } } else { SendClientMessage(i, COLOR_WHITE, "Ban da bi roi ra khoi xe, ngay lap tuc ban duoc dua den benh vien."); KillEMSQueue(i); SpawnPlayer(i); } }