checking player skin
#1

hey guys is there any way to check which skin id is player using?
Reply
#2

https://sampwiki.blast.hk/wiki/GetPlayerSkin
Reply
#3

Use GetPlayerSkin

Seriously, please search before asking.
Reply
#4

oh thx somuch
i searched a lil bit but i couldnt find... im sorry anyway
Reply
#5

hmmm im trying to create a script which lets swat skin only to enter LSPD police car... but it doesnt work :S
Код:
	new skin = GetPlayerSkin(playerid);
	new car = GetPlayerVehicleID(playerid);
	if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
	{
		if(car == 596)
		{
		    if(skin == 285)
		    {
				SendClientMessage(playerid, -1, "Sucessfully Entered!");
			}
			else
			{
			    RemovePlayerFromVehicle(playerid);
			    SendClientMessage(playerid, -1, "you arenot a police!");
			}
		}
	}
it compiles without any error but it doesnt work...anyone knows why?
Reply
#6

pawn Код:
new car = GetVehicleModel(GetPlayerVehicleID(playerid));
Reply
#7

oh thx bro
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)