Skins for Organizations
#1

if(strcmp(cmd, "/samu", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pSocio] >= 1)
{
PlayerInfo[playerid][pMembro] = 4;
PlayerInfo[playerid][pCargo] = 1;
SetPlayerSkin(playerid,70);
PlayerInfo[playerid][pChar] = 70;
SetPlayerSpawn(playerid);

samu = doctors

How can i change the skin Please give me an exemple.
How can i change or add 1 more skin??

PLEASE HELP
Reply
#2

PLZ Help Me
Reply
#3

So whats wrong with that?

Your asking for :
How can i change the skin Please give me an exemple.

While you already did it here :

if(strcmp(cmd, "/samu", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pSocio] >= 1)
{
PlayerInfo[playerid][pMembro] = 4;
PlayerInfo[playerid][pCargo] = 1;
SetPlayerSkin(playerid,70);
PlayerInfo[playerid][pChar] = 70;
SetPlayerSpawn(playerid);
Reply
#4

Yes but i add one more skin and doesnt work....

like SetPlayerSkin(playerid,70,71); and apear ERROR
Reply
#5

PLZ HELP -.-

I TRY TO ADD NEW SKINS BUT APEAR ERROR||||||||

""""""like SetPlayerSkin(playerid,70,71); and apear ERROR"""""
Reply
#6

switch(2)
{
case 0:
{
SetPlayerSkin(playerid,id1,id2);
}

case 1:
{
SetPlayerSkin(playerid,id1,id2);
}

Something like that?
Reply
#7

https://sampwiki.blast.hk/wiki/SetPlayerSkin
Reply
#8

LOL in the code dont apear switch or something like that...=/
Reply
#9

pawn Код:
if(strcmp(cmd, "/samu", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pSocio] >= 1)
{
PlayerInfo[playerid][pMembro] = 4;
PlayerInfo[playerid][pCargo] = 1;
PlayerInfo[playerid][pChar] = 70;
SetPlayerSpawn(playerid);
switch(2)
{
    case 1:
    {
        SetPlayerSkin(playerid,70);
    }
    case 2:
    {
        SetPlayerSkin(playerid,71);
    }

    return 1;
Reply
#10

but i want to put more than 2 skins...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)