[Solved]More Help! With GodCar Funtion - 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: [Solved]More Help! With GodCar Funtion (
/showthread.php?tid=101532)
[Solved]More Help! With GodCar Funtion -
Tigerbeast11 - 11.10.2009
Hiya!!!
Код:
public GodCar(playerid)
{
if(GetPlayerScore(playerid) >= 35)
{
SetVehicleHealth(playerid, 1000);
` return 1;
{
{
{
public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText(" DeathMatch");
SendRconCommand("mapanme Total DM");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
SetTimer("GodCar",500, true);
return 1;
}
This is the function that automatically turns godcar on for people who have more than 35 kills! But when i compile i get 26 random errors! If there is something wrong with this,plz tell me!!!
Re: More Help! With GodCar Funtion -
Abernethy - 11.10.2009
Done.
pawn Код:
public GodCar(playerid)
{
if(GetPlayerScore(playerid) >= 35)
{
SetVehicleHealth(playerid, 1000);
}
return true;
}
public OnGameModeInit()
{
SetGameModeText(" DeathMatch");
SendRconCommand("mapname Total DM");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
SetTimer("GodCar",500, true);
return 1;
}
Re: More Help! With GodCar Funtion -
Tigerbeast11 - 11.10.2009
Thnx Dude, I needed this!!!