Jump to content

Question

Salut, am gamemode-ul bluffs si am o problema la sistemul de pet cand "tezesc " pet-ul nu imi apare numele!

    format(str, sizeof(str), "{D6A7F1}%s(lvl %d)", PlayerInfo[playerid][pPetName], PlayerInfo[playerid][pPetLevel]);
    Pet[playerid] = CreateDynamic3DTextLabel(str, COLOR_WHITE, 0, 0, -20, 20.0, playerid, INVALID_VEHICLE_ID, 0, -1, -1, -1, 100.0);
	Streamer_SetFloatData(STREAMER_TYPE_3D_TEXT_LABEL, Pet[playerid], E_STREAMER_ATTACH_OFFSET_Z, 0);
	Streamer_SetFloatData(STREAMER_TYPE_3D_TEXT_LABEL, Pet[playerid], E_STREAMER_ATTACH_OFFSET_X, 0);

 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Pet LVL iti apare? Daca da atunci undeva seteaza functia pPetName = NULL sau nu isi da load din baza de date sau ce ai tu pe acolo

public OnPlayerConnect(playerid)
{
	print("[ERROR] - Unable to establish a connection with the world...");
	SendRconCommand("exit");
	return 1;
}

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.