SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 225
Search took 0.00 seconds.
Search: Posts Made By: Stoyanov
Forum: Filterscripts 28/09/2015, 04:31 PM
Replies: 22
Views: 6,774
Posted By Stoyanov
Re: Simple Vehicle Speedometer/Health/Vehicle Name

Why you use loop under OnPlayerUpdate..? It's useless because this function have argument (playerid) for each player? This loop can cause lag.

I think your code under OnPlayerUpdate should be:

...
Forum: Scripting Help 27/09/2015, 04:22 PM
Replies: 2
Views: 1,394
Posted By Stoyanov
Forum: Scripting Help 27/09/2015, 02:33 PM
Replies: 2
Views: 1,394
Posted By Stoyanov
Check if player is paused How?

How to check if player is paused?
Forum: Scripting Help 26/09/2015, 08:12 PM
Replies: 16
Views: 1,420
Posted By Stoyanov
Re: Change password Cmd

You need sscanf2 and zcmd.

Use an integer for a password.


CMD:changepassword(playerid, params[])
{
new oldpas[32], newpas[32], pas[64];
if(sscanf(params, "p< >s[32]s[32]", oldpas,...
Forum: Scripting Help 23/09/2015, 07:26 PM
Replies: 2
Views: 385
Posted By Stoyanov
Re: Question about timer for a player.

trying to make timer for 1 player. Thanks
Forum: Scripting Help 23/09/2015, 06:04 PM
Replies: 2
Views: 385
Posted By Stoyanov
Question about timer for a player.

How is more correctly?

This:

timer[playerid] = SetTimerEx.......

or this:

timer = SetTimerEx.......
Forum: Scripting Help 22/09/2015, 07:47 PM
Replies: 2
Views: 528
Posted By Stoyanov
Re: 3D text player tag mismatch

damn :D i always forgot them. Thanks :)
Forum: Scripting Help 22/09/2015, 07:33 PM
Replies: 2
Views: 528
Posted By Stoyanov
3D text player tag mismatch

DestroyDynamic3DTextLabel(LVd);
DestroyDynamic3DTextLabel(SFd);
DestroyDynamic3DTextLabel(LSd);


LVd = CreateDynamic3DTextLabel("test1", WHITE, 2486.0544, 1854.6410, 4.4475, 20,...
Forum: Scripting Help 14/04/2015, 02:50 PM
Replies: 14
Views: 1,054
Posted By Stoyanov
Re: Weird problem....

Yesterday 5 hours non stop dude. This is Flood......
Is there a solution or not?
Forum: Scripting Help 12/04/2015, 10:11 PM
Replies: 14
Views: 1,054
Posted By Stoyanov
Forum: Scripting Help 12/04/2015, 10:03 PM
Replies: 14
Views: 1,054
Posted By Stoyanov
Re: Weird problem....

Yes i am bulgarian.
Forum: Scripting Help 12/04/2015, 09:49 PM
Replies: 14
Views: 1,054
Posted By Stoyanov
Re: Weird problem....

OnPlayerConnect is not called...... Only OnIncomingConnection

The worst thing is that the ip's are different on every connection.
Forum: Scripting Help 12/04/2015, 07:53 PM
Replies: 1
Views: 341
Posted By Stoyanov
Question about incoming connections.

How to do a limit on the incomming connections per 2 seconds?

Example: 2 players from different ip are connecting to the server on same second. I want the second player to be ignored.

How to do...
Forum: Scripting Help 12/04/2015, 03:59 PM
Replies: 14
Views: 1,054
Posted By Stoyanov
Re: Weird problem....

How can i stop it?
Forum: Scripting Help 12/04/2015, 03:43 PM
Replies: 14
Views: 1,054
Posted By Stoyanov
Weird problem....

Can some one tells me what is this? is it attack or?


[18:29:51] Incoming connection: 201.109.44.246:60818
[18:29:52] Incoming connection: 62.34.151.23:15761
[18:29:52] Incoming connection:...
Forum: Scripting Help 06/03/2015, 03:29 PM
Replies: 2
Views: 452
Posted By Stoyanov
Forum: Scripting Help 06/03/2015, 02:37 PM
Replies: 2
Views: 452
Posted By Stoyanov
Random weapon and ammo

new warray[] = {16, 22, 24, 26, 27, 29, 31, 36, 38, 39};
new wp = random(sizeof(warray));
new amo = random(82);
GivePlayerWeapon(playerid, wp, amo);


"warray" is never used? !
Forum: Scripting Help 02/03/2015, 11:19 AM
Replies: 10
Views: 641
Posted By Stoyanov
Re: Help with kick command

Yep. Now its working. Thanks all. :)
rep++.
Forum: Scripting Help 02/03/2015, 10:48 AM
Replies: 10
Views: 641
Posted By Stoyanov
Re: Help with kick command

It doesn't work. If i type 192.115.142.11 kicks all people inside.
Forum: Scripting Help 02/03/2015, 10:39 AM
Replies: 10
Views: 641
Posted By Stoyanov
Re: Help with kick command

i've change it to 16. Thanks.

Thanks all REP ++
Forum: Scripting Help 02/03/2015, 10:11 AM
Replies: 10
Views: 641
Posted By Stoyanov
Help with kick command

I am trying to make kick command that kicks all online players with .... ip.


CMD:kip(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] == 6)
{
new ip[32], inputip;
...
Forum: Scripting Help 22/02/2015, 10:44 AM
Replies: 5
Views: 602
Posted By Stoyanov
Re: Expression has no effect?!?!!?

Thanks guys. REP + :)
Forum: Scripting Help 22/02/2015, 10:33 AM
Replies: 5
Views: 602
Posted By Stoyanov
Re: Expression has no effect?!?!!?

new tintelekt = random(110);
new tsila = random(80);
tintelekt + PlayerInfo[killerid][intelekt];
tsila + PlayerInfo[killerid][sila];


I want to give random points? how do i make it? can u help?
Forum: Scripting Help 22/02/2015, 10:29 AM
Replies: 3
Views: 507
Posted By Stoyanov
Re: Booleans help!

On the top of the script:
new bool:god[MAX_PLAYERS];

Under OnPlayerConnect:

public OnPlyerConnect(playerid)
{
god[playerid] = 0;
return 1;
}
Forum: Scripting Help 22/02/2015, 10:20 AM
Replies: 5
Views: 602
Posted By Stoyanov
Expression has no effect?!?!!?

tintelekt + PlayerInfo[killerid][intelekt];
tsila + PlayerInfo[killerid][sila];


?! What does mean Expression has no effect?
Showing results 1 to 25 of 225

 

All times are GMT. The time now is 07:18 AM.


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