29.12.2014, 13:28
You could really save a lot of lines here by creating common functions instead of using two lines for stuff like this.
pawn Code:
GivePlayerWeapon(PID,Duelweap1[PID],2000);
GivePlayerWeapon(playerid,Duelweap1[playerid],2000);
GivePlayerWeapon(PID,Duelweap2[PID],2000);
GivePlayerWeapon(playerid,Duelweap2[playerid],2000);
TogglePlayerControllable(PID,0);
TogglePlayerControllable(playerid,0);
SetPlayerArmour(PID,100);
SetPlayerHealth(PID,100);
SetPlayerArmour(playerid,100);
SetPlayerHealth(playerid,100);