help me
#1

Help me fix it step




19634-19645
Код:
{
			new Weapon = GetPlayerWeapon(playerid);
			new Ammo = GetPlayerAmmo(playerid);
			GivePlayerWeapon(playerb, Weapon, Ammo);
			RemovePlayerWeapon(playerid, Weapon);
			format(string, sizeof(string), "* %s hands their weapon to %s.", RPN(playerid), RPN(playerb));
	    	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	    	format(string, sizeof(string), " You have given %s your weapon.", RPN(playerb));
	    	SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	    	format(string, sizeof(string), " You have received a weapon from.", RPN(playerid));
	    	SendClientMessage(playerb, COLOR_LIGHTBLUE, string);
		}

20137-20150
Код:
{
			new Weapon = GetPlayerWeapon(playerid);
			new Ammo = GetPlayerAmmo(playerid);
			GivePlayerWeapon(playerb, Weapon, Ammo);
			RemovePlayerWeapon(playerid, Weapon);
			format(string, sizeof(string), "* %s hands their weapon to %s.", RPN(playerid), RPN(playerb));
	    	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	    	format(string, sizeof(string), " You have given %s your weapon.", RPN(playerb));
	    	SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	    	format(string, sizeof(string), " You have received a weapon from.", RPN(playerid));
	    	SendClientMessage(playerb, COLOR_LIGHTBLUE, string);
		}
Reply
#2

https://sampforum.blast.hk/showthread.php?tid=514374 ...
No Double Posting - There is a modify button , use it. However, bumping a topic in which you have or require further information is allowed after at least 24 hours. Note that two identical posts appearing at the same time is usually a mistake attributed to lag, and will not be penalized (but the second one will be removed).
>>> http://forum.sa-mp.com/announcement.php?f=12 <<< Read This
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)