killerid
#1

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.
Код:
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;
}
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
Reply
#2

I know its not nearly 24 hours so I could bump but its kind of urgent and I cant find it anywhere on the forums. Please give it a try guys, im desperate. Sure, you will get youre rep.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)