skins problem
#1

I have a problem with the invite when received by the members of the organization set his skin normal but below the TextDraw CJ Skin?



CMD:invite(playerid, params[])
{
if(IsPlayerConnected(playerid))
{
new string[128], sendername[MAX_PLAYER_NAME],giveplayerid,giveplayer[MAX_PLAYER_NAME];
GetPlayerName(playerid, sendername, sizeof(sendername));
if(sscanf(params,"u",giveplayerid)) return SCM(playerid, COLOR_GRAD2, "Koristenje: /invite [ID Igraca/Dio Imena]");
new ftext[32];
if(PlayerInfo[playerid][pLeader] >= 1)
{
if(giveplayerid != INVALID_PLAYER_ID)
{
if(gTeam[giveplayerid]==TEAM_GREEN && PlayerInfo[giveplayerid][pMember] == 0 && PlayerInfo[giveplayerid][pFMember] == 255)
{
if(PlayerInfo[playerid][pLeader] == 1) { PlayerInfo[giveplayerid][pTeam] = 2; gTeam[giveplayerid] = 2; ftext = "Policija"; ChosenSkin[giveplayerid] = 71; SetPlayerSkin(giveplayerid, 71); }
PlayerTextDrawSetPreviewModel(giveplayerid,SlikaDo le[giveplayerid], PlayerInfo[giveplayerid][pChar]);{ SetTimer("Refreshskin", 1000, 0 ); }
PlayerTextDrawShow(giveplayerid, SlikaDole[giveplayerid]);
Reply


Messages In This Thread
skins problem - by Swans - 12.10.2015, 10:19
Re: skins problem - by ZeMuNaC - 12.10.2015, 10:26
Re: skins problem - by Swans - 12.10.2015, 10:47

Forum Jump:


Users browsing this thread: 2 Guest(s)