#1

hey guys i want to do when you enter in a Paintball as Police officer off duty and you have skin 124 when you enter the paintball , and when some1 killed you in paintball arena and you respawn in the arena again to give your last skin 124 not as Police officer example 39(not a pd skin id)

Код HTML:
if(IsACop(playerid))
		{
		    if(OnDuty[playerid] == 0)
		    {
		        if(PlayerPaintballing[playerid] == 1)
			    {
			 	    SetPlayerSkin(playerid, 29);
				}
				else
				{
			 	    OnDuty[playerid] = 0;
			 	    SetPlayerSkin(playerid, 29);
			 	    ResetPlayerWeapons(playerid);
			 	    SetPlayerColor(playerid,0xFFFFFFAA);
				}
			}
		}
this is the sistem under function oplayerspawn , when you are off duty and if(PlayerPaintballing[playerid] == 1)

to set your last skin not skin 29 , under is if(PlayerPaintballing[playerid] == 0) if you spawn first time on server you get those under else
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)