Jump to content
  • 0

ma ajuta cineva sa rezolv /svf


SELECT * FROM `server_fvs` ORDER BY `server_fvs`.`fvsID` ASC

ce probleme am:

1. Nu se vede Pickup ul si nici asta cu /svf. dovada:

          Iter_Add(fvsVehicleSpawn, x);
        format(string, sizeof(string), "{ffff4d}ID: {FFFFFF}%d\n{ffff4d}Spawn Vehicle: {FFFFFF}[/svf]", x, DynamicFactions[fvsVariables[x][fvsFaction]]);
        fvsVariables[x][fvsLabel] = CreateDynamic3DTextLabel(string, -1, fvsVariables[x][fvsPos][0], fvsVariables[x][fvsPos][1], fvsVariables[x][fvsPos][2], 25, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 1, 0, -1, -1, 100.0);
        fvsVariables[x][fvsPickup] = CreateDynamicPickup(19133, 23, fvsVariables[x][fvsPos][0], fvsVariables[x][fvsPos][1], fvsVariables[x][fvsPos][2], 0, -1, -1, 100.0);

2. nu stiu cum sa bag chestia asta in database : SELECT * FROM `server_fvs` ORDER BY `server_fvs`.`fvsID` ASC

3. Va rog rapid :(((

Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Nu se vede deoarece e posibil sa nu ai nici un fel de data incarcata in fvsVariables

Chestia aia se numeste query si nu il bagi in database ci o folosesti in script, presupun ca trebuie folosit in OnGameModeInit

public OnGameModeInit()
	// Cod aici
	mysql_tquery(handle, "SELECT * FROM `server_fvs` ORDER BY `server_fvs`.`fvsID` ASC", "LoadServerFvs", "");
	// Alt cod aici

	// Aici codul pentru incarcarea datelor in variabilele tale

Daca ai copiat din alt script, ti-as sugera sa cauti acest cod de incarcare in acel script

Link to post
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.

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.

  • 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.