SA-MP Forums Archive
[HELP]Why This Not Work? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP]Why This Not Work? (/showthread.php?tid=145439)



[HELP]Why This Not Work? - eDz0r - 02.05.2010

pawn Код:
if (IsPlayerInRangeOfPoint(playerid, 7.0,cardelckp1))
{
GivePlayerMoney(playerid, 10000);
RemovePlayerFromVehicle(playerid);
DisablePlayerCheckpoint(playerid);
GameTextForPlayer(playerid, "~g~You Completed The Deliver, Well Done!", 3000, 1);
{
/*NOT WORKING
new Float:health;
GetVehicleHealth(pcar1, health);
if(health >900)
{
PlayerPlaySound(playerid, 1097, 0, 0, 0);
GameTextForPlayer(playerid, "~y~Great You Deliver It In Perfect Condition Bonus 3000$!", 3000, 3);
GivePlayerMoney(playerid, 3000);
}
}
}
return 1;
}*/