11.11.2009, 18:23
Tem isso aн, mas estгo assim
Devo tirar esse if ?
pawn Code:
if(GetClosestHospital(playerid) == 0){
SetSpawnInfo(playerid, 1, udb_getSkin(PlayerName(playerid)), -2651.6501, 634.4510, 14.4531, 180.0000, 0, 0, 0, 0, 0, 0);
}
if(GetClosestHospital(playerid) == 1){
SetSpawnInfo(playerid,1,udb_getSkin(PlayerName(playerid)),1173.5842,-1324.5615,15.1953,278.4624,0,0,0,0,0,0);
}
if(GetClosestHospital(playerid) == 2){
SetSpawnInfo(playerid,1,udb_getSkin(PlayerName(playerid)),2031.9415,-1404.3578,17.2614,165.8180,0,0,0,0,0,0);
}
if(GetClosestHospital(playerid) == 3){
SetSpawnInfo(playerid,1,udb_getSkin(PlayerName(playerid)),1582.5615,1768.7921,10.8203,93.7454,0,0,0,0,0,0);
}