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

Sceenshot :

This is a bug's code

Код:
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); } }