Search Results
CreateDynamicObject have a objects limit as CreateObject have limit of 1000?
93,947
Quote:
Originally Posted by Rolux
1.
Why do you load everything as a string?
https://sampwiki.blast.hk/wiki/MySQL/R40#cache_get_value_name_int
https://sampwiki.blast.hk/wiki/MySQL/R4...ue...
199
Quote:
Originally Posted by Jefff
pawn Код:
object[h][idTeam] = strval(data);
and error
pawn Код:
object[h][idTeam] = AddStaticVehicle(
Sorry, I don't understand you
199
Quote:
Originally Posted by Jefff
pawn Код:
forward CargarVeh(limit);public CargarVeh(limit){ new h, rows, data[50], team; cache_get_row_count(rows); for(new i = 0; i &l...
199
Hi everyone,
Again I have a problem with variable from MySQL, this time with int variable.
I have the next following code:
OnGameModeInit
pawn Код:
mysql_tquery(1, "SELECT * FROM `vehiculos`",...
199
Quote:
Originally Posted by BiGuy
Yes its easy check the examples https://sampforum.blast.hk/showthread.php?tid=570927
if (sscanf(params, "u", idJugador)) return SendClientMessage(playe...
462
Quote:
Originally Posted by Rolux
Don't listen to that guy.
You are not giving any value to the variable "idJugador",so it's value will be 0.
That causes you to teleport to ID 0.
Can y...
462
Hi everyone, again me. This error seems to be very basic, but I do not understand what happens and I have the crazy head.
That's is my code:
pawn Code:
CMD:ir(playerid, params[]){ new idJugad...
462
Finally, with help of Sys and Jefff (Jeff was the one who helped me the most, even by PM), we solved my problem with this conditional line:
pawn Код:
if(pInfo[playerid][Clan][0] && !strcmp...
219
Quote:
Originally Posted by SyS
strcmp returns 0 if the strings match so you should do
pawn Код:
if(!strcmp(pInfo[playerid][Clan],"TAW",true))
I proof with other account has not ...
219
Quote:
Originally Posted by Jefff
cache_get_value(0, "Clan", pInfo[playerid][Clan], 25);
Yeah, when I re-read it, I understood. Look the edit in the previous reply please
219
Quote:
Originally Posted by Jefff
You need add size at the end
Can you explain that please?
EDIT:
I replace cache line with that:
PHP код:
cache_get_value(0, "Clan", pInfo[pla...
219
Hi and thanks in advance for your help
In advance, I apologize for my bad english, is not my native language.
Look, I'm trying getting string variable from MYSQL. I get string perfectly from databas...
219