Posts: 426
Threads: 46
Joined: Apr 2011
Alright guys, so i have a Filterscript which is SinglePlayerFeatures to SAMP. Basically, it has SinglePlayerFeatures if you use it. I'm Currently working on 2.0 to fix some bugs and add more Features (Like in Singleplayer), but in all vehicle Cheats, THEY ALL RESPAWN AFTER BLOWING UP. Is therE anyway that they will NOT respawn?
Posts: 1,101
Threads: 21
Joined: Oct 2010
Reputation:
0
You can a) prevent them from blowing up (by setting the vehicle's health) or b) teleport them back to their position after respawning.
Posts: 426
Threads: 46
Joined: Apr 2011
08.01.2012, 02:03
(
Последний раз редактировалось Aira; 08.01.2012 в 02:40.
)
Quote:
public OnVehicleDeath(vehicleid)
{
new currentveh;
currentveh = GetPlayerVehicleID(playerid);
DestroyVehicle(currentveh);
}
|
C:\.\.\.\.\filterscripts\SPF.pwn(104) : error 017: undefined symbol "playerid"
Edit:
FIXIED
Quote:
forward dest(playerid);
public dest(playerid)
{
new cveh;
cveh = GetPlayerVehicleID(playerid);
DestroyVehicle(cveh);
}
public OnPlayerDeath(playerid, killerid, reason)
{
UnderWater[playerid]=0; // Its for the Infinite Oxygen, ignore this
GameTextForPlayer(playerid,"~w~Wasted",4000,2);
return 1;
}
|
+Rep to Stigg