Jump to content

Question

Posted

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);

 

1 answer to this question

Recommended Posts

  • 0
Posted

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;
}

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.