07.01.2013, 20:52
How to Change player skin?? i'm trying to find it in Pawno, but can't
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;
}
PlayerInfo[playerid][pSkin] = 299;
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; |
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; |