Posts: 1,208
Threads: 36
Joined: Apr 2015
Quote:
Originally Posted by JR_Junior
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
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