skin request

When u choose a skin how do i make it so say skinid 105 show gametext Da Balla then id 106 grove street and so on

Well you could use Either GetPlayerSkin or classid. I'm going to use GetPlayerSkin because I don't know the order of your classes.

pawn Код:
public OnPlayerRequestClass(playerid, classid)
  if(GetPlayerSkin(playerid) == 106) GameTextForPlayer(playerid, "~g~Grove ST", 1500, 3);
  if(GetPlayerSkin(playerid) == 105) GameTextForPlayer(playerid, "~p~Da Balla", 1500, 3);
  return 1;

yep worked perfect thnx mate

Forum Jump:

Users browsing this thread: 1 Guest(s)