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
#2

You didn't write good textdraw name or whatever. Everywhere is "SlikaDole" and here
Код:
PlayerTextDrawSetPreviewModel(giveplayerid,SlikaDo le[giveplayerid], PlayerInfo[giveplayerid][pChar]);{
Is "SlikaDo le"
Reply
#3

Lock !
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)