SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 18 of 18
Search took 0.00 seconds.
Search: Posts Made By: Edvukas
Forum: Scripting Help 20/01/2020, 08:55 PM
Replies: 4
Views: 177
Posted By Edvukas
Re: new or enum?

Why enums?
Forum: Scripting Help 19/01/2020, 08:42 PM
Replies: 4
Views: 177
Posted By Edvukas
new or enum?

Hi, what should I choose for storing variables? Like admin, vip, cuffed, has something etc... So Enum or new?
Forum: Scripting Help 06/12/2019, 11:24 AM
Replies: 8
Views: 473
Posted By Edvukas
Re: I need help with updating mysql from R5 to R41-4

[15:31:08] [debug] Run time error 19: "File or function is not found"
[15:31:08] [debug] cache_get_row_count
[15:31:08] [debug] mysql_log
[15:31:08] [debug] mysql_connect
[15:31:08] [debug] ...
Forum: Scripting Help 03/12/2019, 09:25 PM
Replies: 8
Views: 473
Posted By Edvukas
Re: I need help with updating mysql from R5 to R41-4

how about mysql_retrieve_row( ); and mysql_fetch_field_row ? Sorry, I'm converting whole gamemode to R41-4. btw full code: format(Query, sizeof(Query), "SELECT * FROM `players` WHERE Name= '%s'",...
Forum: Scripting Help 03/12/2019, 04:42 PM
Replies: 8
Views: 473
Posted By Edvukas
Re: I need help with updating mysql from R5 to R41-4

also how can I convert this one? if( mysql_num_rows( ) ) or it is same as while( mysql_fetch_row_format( savingstringexx ) ) ?

in register/login system:
if( mysql_num_rows( ) )
{
format(...
Forum: Scripting Help 02/12/2019, 09:06 PM
Replies: 8
Views: 473
Posted By Edvukas
Re: I need help with updating mysql from R5 to R41-4

I can't understand it:
while( mysql_fetch_row_format( savingstringexx ) )
{
if( mysql_fetch_row_format( strings ) )
{
how can I convert these to R41-4 and what does they do?
Forum: Scripting Help 01/12/2019, 12:21 PM
Replies: 8
Views: 473
Posted By Edvukas
I need help with updating mysql from R5 to R41-4

Hi, as you can see, I need help with updating MySQL version from R5 to R41-4. So how can I convert these to R41-4?

mysql_query( "SELECT ... FROM ... ORDER BY ..." );

mysql_store_result( );...
Forum: Scripting Help 17/08/2019, 09:50 AM
Replies: 0
Views: 80
Posted By Edvukas
How to create top list 3dtext label with mysql r39?

Hi, so how can I do this? Because I have no idea...
Forum: Scripting Help 06/07/2019, 03:30 PM
Replies: 16
Views: 377
Posted By Edvukas
Re: How to give weapons after they choosed?

CMD:weapons(playerid,params[])
{
new info[2000], string[150];
for(new i = 0; i < MAX_WEAPONS; i++)
{
format(string, sizeof string, "%s\n", weaponArray[i][wName]);
strcat(info, string);...
Forum: Scripting Help 06/07/2019, 02:01 PM
Replies: 16
Views: 377
Posted By Edvukas
Re: How to give weapons after they choosed?

I think you guys don't understand me :/ I want to make 2 weapons dialogues in first dialogue player choose 1 weapon and in second dialogue he chooses second weapon and when he close dialogue he get...
Forum: Scripting Help 05/07/2019, 09:03 PM
Replies: 16
Views: 377
Posted By Edvukas
Re: How to give weapons after they choosed?

Here is add instantly nos. There is example: /weapons > I choose weapon > When I click "Cancel" it give me weapons which I choosed
Forum: Scripting Help 05/07/2019, 08:51 PM
Replies: 16
Views: 377
Posted By Edvukas
Re: How to give weapons after they choosed?

How can I save player's options and then give him weapons which he choosed?
Forum: Scripting Help 05/07/2019, 08:44 PM
Replies: 16
Views: 377
Posted By Edvukas
Re: How to give weapons after they choosed?

I don't want give weapons instantly. I want give weapons which he choosed after he close dialogue
Forum: Scripting Help 05/07/2019, 08:39 PM
Replies: 16
Views: 377
Posted By Edvukas
Re: How to give weapons after they choosed?

I mean that when player close dialogue then he get weapon which he choosed
Forum: Scripting Help 05/07/2019, 08:32 PM
Replies: 16
Views: 377
Posted By Edvukas
How to give weapons after they choosed?

Hi. How do I make a player choose weapons and he get them after he close the dialogue?
Forum: Scripting Help 26/05/2019, 12:15 PM
Replies: 3
Views: 113
Posted By Edvukas
Re: Need help with // command

if(strcmp(cmdtext, "//", true, 2) == 0 && PlayerDB[playerid][Loaded]) // If the player isn't an admin, the command is not available to them
{
if(PlayerDB[playerid][MutedPlayer] > 0)
...
Forum: Scripting Help 26/05/2019, 11:53 AM
Replies: 3
Views: 113
Posted By Edvukas
Need help with // command

Hello, how can I make command // where I can chat with other? I have command with strcmp but I need better variant
Forum: Scripting Help 18/05/2019, 06:01 PM
Replies: 1
Views: 112
Posted By Edvukas
Help with vehicle respawn delay

Hello. How can I respawn vehicles manually with set time eg. /respawn [seconds] ? It should respawn vehicles with time which is typed
Showing results 1 to 18 of 18

 

All times are GMT. The time now is 01:31 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.