[FilterScript] Dynamic Stingers System
#8

Quote:
Originally Posted by JR_Junior
View Post
Nice, very nice!

Can you add to prevent damage for a certain team(cops)?
Code:
CreateDynamicStinger(type,Float:x,Float:y,Float:z,Float:rx,Float:ty,Float:rz,worldid=-1,interiorid=-1,playerid=-1,Float:streamdistance=100.0,
teamid=ANY_TEAM,byplayerid=INVALID_PLAYER_ID);
for SetPlayerTeam


Quote:
Originally Posted by Meller
View Post
PHP Code:
public OnVehicleDamageByStinger(playerid,killerid,mobid,old_tires,new_tires){ 
    if(
killerid != INVALID_PLAYER_ID && GetPlayerTeam(killerid) == GetPlayerTeam(playerid)){ 
        
// set the vehicle tire status to old_tires
    

    return 
1

ez pz lemon squezy
bad idea
Reply


Messages In This Thread
Dynamic Stingers System - by AbyssMorgan - 30.04.2017, 12:57
Re: Dynamic Stingers System - by IlanZ - 30.04.2017, 13:28
Re: Dynamic Stingers System - by JessThompson - 02.05.2017, 08:01
Re: Dynamic Stingers System - by coool - 03.05.2017, 17:06
Re: Dynamic Stingers System - by AbyssMorgan - 17.05.2017, 06:58
Re: Dynamic Stingers System - by JR_Junior - 29.09.2017, 18:44
Re: Dynamic Stingers System - by Meller - 29.09.2017, 18:48
Re: Dynamic Stingers System - by AbyssMorgan - 29.09.2017, 18:49
Re: Dynamic Stingers System - by AzaMx - 30.09.2017, 02:19
Re: Dynamic Stingers System - by Crystallize - 03.10.2017, 04:29
Re: Dynamic Stingers System - by AbyssMorgan - 03.10.2017, 06:15

Forum Jump:


Users browsing this thread: 2 Guest(s)