Jump to content

Recommended Posts

Posted
Acum 8 ore, H3J0__ a spus:

image.png.33529a55f31dda2b827d5788d584427c.png

image.png.e28786e82741d785a0c4acab729a2f6c.png

prima data cand intelnesc aceste warning-uri csf

cauta functia update_shards si vezi acolo cum scrie, posibil sa fie update_shards(playerid), ar trebui sa fie update_shards(playerid, update), nu e necesar sa pui 'update' doar ti-am dat un exemplu, o sa folosesti un switch ca sa poti defini la ce dai update.

Exemplu

function FUpdate(factionid, type)
{
	new query[128];
	switch(type)
	{
		case FacMoney: format(query, sizeof(query), "UPDATE `factions` SET `Money` = '%d' WHERE `FactionID` = '%d'", FactionInfo[factionid][FacMoney], factionid);
	}
	mysql_query(handle, query);
	return 1;
}

Asta ar insemna ca eu cand ofer update la banii factiunilor o sa fie

FUpdate(idfactiune, FacMoney);

Ce inseamna cuvantul "Unic" este atunci cand Chestia / Obiectul / Idea / etc... nu exista in alta parte.

Copii, nu mai veniti cu vorbe de "Am gamemode unic", nu exista asa ceva, la ora actuala totul este pe net.

Aveti grija pe cine ajutati, majoritatea sunt caini.

Posted
Acum 45 minute, Banditul a spus:

Inseamna ca update_shards are mai putine/multe argumente decate i-ai oferit tu

Ofera detalii mai pe inteles, o data ce iti cere ajutorul pentru asa ceva inseamna ca nu stie.

Totusi +1 raspuns corect.

Ce inseamna cuvantul "Unic" este atunci cand Chestia / Obiectul / Idea / etc... nu exista in alta parte.

Copii, nu mai veniti cu vorbe de "Am gamemode unic", nu exista asa ceva, la ora actuala totul este pe net.

Aveti grija pe cine ajutati, majoritatea sunt caini.

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