SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 51
Search took 0.00 seconds.
Search: Posts Made By: idegod
Forum: Scripting Help 16/01/2020, 09:43 AM
Replies: 26
Views: 821
Posted By idegod
Re: Detect when player enter/leave pickup

the whole point was not to avoid loops?
@IzaDoRo you could show an example

could be this

public OnPlayerPickUpDynamicPickup(playerid, pickupid)
{
new string[128];
for(new...
Forum: Português/Portuguese 10/01/2020, 01:04 PM
Replies: 8
Views: 290
Posted By idegod
Forum: Português/Portuguese 09/01/2020, 07:10 AM
Replies: 8
Views: 290
Posted By idegod
Re: Como detectar tempo parado?

como usar isso? pra detectar tempo parado
Forum: Português/Portuguese 07/01/2020, 10:42 AM
Replies: 8
Views: 290
Posted By idegod
Re: Como detectar tempo parado?

to fazendo varias coisas pra amenizar, tinham varios problemas no meu GM que eu corrigi, agora raramente da esse problema de RT, mas quando da FODE tudo, eu preciso de uma forma de detecção pra...
Forum: Scripting Help 07/01/2020, 10:39 AM
Replies: 26
Views: 821
Posted By idegod
Re: Detect when player enter/leave pickup

lol
is it possible?
i could remove a lot of loops in my server if it is
Forum: Português/Portuguese 06/01/2020, 11:58 PM
Replies: 8
Views: 290
Posted By idegod
Re: Como detectar tempo parado?

tá desconectando todo mundo toda hora
Forum: Português/Portuguese 05/01/2020, 07:36 AM
Replies: 8
Views: 290
Posted By idegod
Forum: Português/Portuguese 05/01/2020, 03:25 AM
Replies: 8
Views: 290
Posted By idegod
Como detectar tempo parado?

Aquele bug que o relogio no SAMP fica travado, qnd player perde a sincronização?

Isso tá bugando meu anti cheat e varios outros sistemas

Alguém sabe como detectar?

tinha achado essa...
Forum: Scripting Help 07/12/2019, 11:12 PM
Replies: 3
Views: 122
Posted By idegod
SAMP - Ammunation Shooting Range

Is it possible to do on SAMP?

Like on this video, on this time (from GTA OFF) [02:06 ~ 04:40]
https://youtu.be/IO-ntJaUKFs?t=126

If it is possible...
Is anyone ever did something like that...
Forum: Scripting Help 05/12/2019, 07:22 PM
Replies: 8
Views: 261
Posted By idegod
Re: better change climate

ok i give up :(
Forum: Scripting Help 05/12/2019, 03:03 AM
Replies: 8
Views: 261
Posted By idegod
Re: better change climate

does it matter?
each 5 seconds add 1 server_minute
each 60 server_minutes (300 seconds, 5 minutes) add 1 server hour

the problem is there is no afternoon, it cut from day to night in one shot
Forum: Scripting Help 03/12/2019, 11:08 PM
Replies: 8
Views: 261
Posted By idegod
Re: better change climate

What are u mean?
U think this function is not called in a good time?

Yes, it is, 5 seconds
SetTimer("SetClima", 5000, true);

And weather in game still changing to day for night
Without this...
Forum: Scripting Help 03/12/2019, 04:54 PM
Replies: 8
Views: 261
Posted By idegod
Re: better change climate

this one? https://github.com/Southclaws/samp-Hellfire/blob/master/filterscripts/gl_realtime.pwn
it change weather just like mine

foreach(new i : Player)...
Forum: Scripting Help 03/12/2019, 04:30 AM
Replies: 8
Views: 261
Posted By idegod
better change climate

Is anyone got a better change climate?

I'm using this:

// change climate
forward SetClima(); public SetClima()
{
foreach(new i : Player) SetPlayerTime(i,server_hour,server_minute);
}
Forum: Scripting Help 09/11/2019, 02:12 PM
Replies: 1
Views: 85
Posted By idegod
SAMP - Ammunation Shooting Range

Is anyone know how to spawn this objects exactly like on this video from GTA OFF on samp?

On this time
https://youtu.be/IO-ntJaUKFs?t=126

Until the: 4:40

Also detect when player shoot a red...
Forum: Scripting Help 27/09/2019, 01:36 PM
Replies: 16
Views: 621
Posted By idegod
Re: smoke grenade, get tear gas position

Me too

Pls guys post codes HAHA


---

Can someone post a script who get how many time player got, from he press KEY_FIRE until release
To use this function:
Forum: Scripting Help 25/09/2019, 01:28 PM
Replies: 16
Views: 621
Posted By idegod
Re: smoke grenade, get tear gas position

Lol, if anyone know how to detect the bomb fell position, even not high precision, pls post here
Grenades on GTA are so weak, i want to play with this
Forum: Scripting Help 03/06/2018, 03:00 PM
Replies: 5
Views: 319
Posted By idegod
Re: Not adding space on MYSQL

I'm sorry to this too long!
Thank you again! Works!
+REP
Forum: Scripting Help 28/05/2018, 04:03 AM
Replies: 5
Views: 319
Posted By idegod
Re: Not adding space on MYSQL

Yes i'm already doing, thats is the code:
format(kstr, sizeof(kstr), "'<a href=player.php?p=%s>%s</a>' ", PlayerName(killerid), PlayerName(killerid) );



I just added the HTML code because i...
Forum: Scripting Help 27/05/2018, 02:09 PM
Replies: 5
Views: 319
Posted By idegod
Not adding space on MYSQL

I have a system to register last players deaths, to show it on website...

I doing this:
a while...

format(kstr, sizeof(kstr), "'<a href=player.php?p=%s>%s</a>' ",...
Forum: Scripting Help 24/05/2018, 03:50 PM
Replies: 5
Views: 347
Posted By idegod
Re: MYSQL is not inserting

Thank you so much! +rep
Forum: Scripting Help 24/05/2018, 01:10 AM
Replies: 5
Views: 347
Posted By idegod
Re: MYSQL is not inserting

[21:05:44] [ERROR] error #1064 while executing query "INSERT INTO `mt` (`player`, `killers`, `date`) VALUES ('110', '<a href='char.php?p=Indiny'>Indiny</a> ', '23/05/2018')": You have an error in...
Forum: Scripting Help 23/05/2018, 07:16 PM
Replies: 5
Views: 347
Posted By idegod
MYSQL is not inserting

Why this query is not inserting?


mysql_format(ConnectMYSQL, query, sizeof(query), "INSERT INTO `mt` (`player`, `killers`, `date`) VALUES ('%d', '%s', '%s')", playerid, strkillers, datestr);...
Forum: Português/Portuguese 23/05/2018, 06:18 AM
Replies: 3
Views: 542
Posted By idegod
Re: Como juntar strings

O problema era no MYSQL eu tava viajando, vlw!
Forum: Português/Portuguese 22/05/2018, 09:11 PM
Replies: 3
Views: 542
Posted By idegod
Showing results 1 to 25 of 51

 

All times are GMT. The time now is 03:47 PM.


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