/clothes CMD HELP!
#1

ok well basically when a player spawns they all have the same skin so i want it when a player is in a certain radius (EG when the spawn for the first time) a dialog pops up allowing them to enter a new SKIN ID to use

the cmd must use [pModel] because thats what my script uses please help thx
Reply
#2

Fixed
Reply
#3

NOOOOOOOOOOOOOOOOO i mean like they input the skin id they want -.- or can someone make it so if they enter the point exactly there skin will change to something random
Reply
#4

It'd been 2 months since my last post, I see they modified the forums abit.. discussion & help seperated (FINALLY), yet you're still posting this in the wrong section.. You are requesting someone to script something for you, afaik. Here this is for you: https://sampforum.blast.hk/showthread.php?tid=187229
Reply
#5

I had this same problem, if you want to make an NPC Spawn with a certain Skin ID, do this, it worked for me.

This is an example of one of my NPC's under 'public OnPlayerSpawn(playerid)'

Код:
public OnPlayerSpawn(playerid)
{
  if(IsPlayerNPC(playerid)) //Checks if the player that just spawned is an NPC.
  {
    new npcname[MAX_PLAYER_NAME];
    GetPlayerName(playerid, npcname, sizeof(npcname)); //Getting the NPC's name.
    if(!strcmp(npcname, "Cashier_One", true))
    {
	  SetPlayerSkin(playerid,76);
      return 1;
    }
I hope this helped!
Reply
#6

oh, sorry, i misunderstood, i was thinking of NPC's
Reply
#7

haha sall good
Reply
#8

anyone?
Reply
#9

just add classes?
Reply
#10

i dont want classes
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)