How to Change playerskin
#1

How to Change player skin?? i'm trying to find it in Pawno, but can't
Reply
#2

https://sampwiki.blast.hk/wiki/SetPlayerSkin

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp(cmdtext, "/fireman", true) == 0)
    {
        // Set the player's skin to ID 277, which is a fireman.
        SetPlayerSkin(playerid, 277);
        return 1;
    }
    return 0;
}
Reply
#3

i mean Noob Skin When people register in game, they get Skin id 299,
Reply
#4

AddPlayerClass or SpawnInfo
Reply
#5

By my understanding, you want to change the default skin that players get registering. Try looking for something like
pawn Код:
PlayerInfo[playerid][pSkin] = 299;
It's hard to tell you something without looking at the script.
Reply
#6

Can't find anything with that..

Look

Quote:

PlayerInfo[playerid][pLevel] = 2;
GivePlayerCash(playerid, 5000000);
PlayerInfo[playerid][pMats] = 10000;
PlayerInfo[playerid][pPot] = 10;
PlayerInfo[playerid][pCrack] = 10;
PlayerInfo[playerid][pAccount] = 5000000;
PlayerInfo[playerid][pDonateRank] = 3;

Reply
#7

What script are you using?
Reply
#8

Then look for 299 in the whole script, it will be hard (with all the floats...) but if you really want to change it, you will have to do it. I can't help you anymore without knowing what GM you are using.
Reply
#9

NGRP
Reply
#10

Look do i have to add something here?

Quote:

PlayerInfo[playerid][pLevel] = 2;
GivePlayerCash(playerid, 5000000);
PlayerInfo[playerid][pMats] = 10000;
PlayerInfo[playerid][pPot] = 10;
PlayerInfo[playerid][pCrack] = 10;
PlayerInfo[playerid][pAccount] = 5000000;
PlayerInfo[playerid][pDonateRank] = 3;

Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)