15.11.2012, 15:16
Hey guys.
Quick question. I am doing a mod where one person flys a hunter and hen he gets shot down by other user with rpg, the other user becomes the pilot.
team id 0 is army and team id 1 is pilot.
The problem is that sa-mp doesnt recognize killerid if the person dies in hunter. its like if samp thought it was a crash or something. Any ideas on fixing please? Any help attempt appreciated.
Thank you
Quick question. I am doing a mod where one person flys a hunter and hen he gets shot down by other user with rpg, the other user becomes the pilot.
Код:
if(team[playerid]==1) { team[killerid]=1; SetPlayerPos(killerid,348.4973,1953.1989,16.6141); SendClientMessage(killerid,COLOR_YELLOW,"Congratulations. You killed the pilot. You are a pilot now. Kill as many troops you can."); ResetPlayerWeapons(killerid); SetPlayerSkin(killerid,61); SetPlayerSkin(playerid,287); team[playerid]=0; }
The problem is that sa-mp doesnt recognize killerid if the person dies in hunter. its like if samp thought it was a crash or something. Any ideas on fixing please? Any help attempt appreciated.
Thank you