SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 50
Search took 0.00 seconds.
Search: Posts Made By: Danisoni
Forum: Scripting Help 11/11/2019, 07:44 PM
Replies: 2
Views: 92
Posted By Danisoni
Re: TextDraw

https://forum.sa-mp.com/showthread.php?t=543002
Forum: Plugin Development 01/08/2018, 06:55 PM
Replies: 464
[Plugin] Pawn.CMD
Views: 144,149
Posted By Danisoni
Re: Pawn.CMD

Included in script, added in plugins row, but commands don't work, no errors, no server-log outputs, i enter command and nothing happening.
Any fix?
Forum: Scripting Help 27/10/2017, 09:09 PM
Replies: 3
Views: 240
Posted By Danisoni
Re: Little Help for Scripting Here!

If you're starter, try downloading someone's gamemode and editing and practice on systems.
Forum: Scripting Help 27/10/2017, 07:04 PM
Replies: 3
Views: 283
Posted By Danisoni
Re: %d Wanteds

Try this.

sPlayer[playerid][Wanteds] += wid;


ocmd:mywtds(playerid,params[])
{
new wid;
new string[128];
format(string, sizeof(string), "You have %d Wanteds!", sPlayer[playerid][Wanteds]);
Forum: Scripting Help 26/10/2017, 07:39 PM
Replies: 3
Views: 282
Posted By Danisoni
Re: Help needed, once again

if(PlayerClass[playerid] !== 8)
to
if(PlayerClass[playerid] != 8)

But as user up me said, replace that code to OnPlayerStateChange.
Forum: Scripting Help 26/10/2017, 07:36 PM
Replies: 10
Views: 455
Posted By Danisoni
Re: A bug which i cant find!

Did you save your account when you register ?
Forum: Filterscripts 26/10/2017, 07:30 PM
Replies: 43
[FilterScript] Hunting System
Views: 14,620
Posted By Danisoni
Re: Hunting System

I pmed you about infinite loop or server freeze problem, check it :D
Forum: Server Support 25/10/2017, 10:42 PM
Replies: 15
Views: 978
Posted By Danisoni
Re: HELP PLEASE

What is this ?

Error: Function not registered: 'cmd_delorgv'
Forum: Scripting Help 25/10/2017, 10:39 PM
Replies: 10
Views: 449
Posted By Danisoni
Re: [QUESTION]About the plugins

However this is server-sided plugin, it's not client-sided, so if you click that button, it will work for whole server.
Forum: Scripting Help 25/10/2017, 10:34 PM
Replies: 7
Views: 643
Posted By Danisoni
Re: Get coordinates of the point at which a camera is pointed at

Well try to get player's camera looking angle, use sin/cos with degrees, use high number, and try to combine it with CA_RayCastLine (ColAndreas Function) to get closest X,Y,Z.
Forum: Scripting Help 25/10/2017, 10:29 PM
Replies: 1
Views: 597
Posted By Danisoni
Re: acks limit

Do you use most up to date server package?

Try adding ackslimit 5000 in your server.cfg, maybe there is no other solutions.
Forum: Scripting Help 25/10/2017, 11:19 AM
Replies: 1
Views: 397
Posted By Danisoni
Re: Texture/Object Problem

I think that was your problem, not server/fs, cause my cousin had that problems, me not, he saw purple tower, i see normal tower, if you understand me.
Forum: Scripting Help 25/10/2017, 11:15 AM
Replies: 3
Views: 354
Posted By Danisoni
Re: Help In $loc , $cash , $level . Thank You

if(strfind("$level",text,true)!=-1) {
SendClientMessage( playerid, -1, "Your level...");
return 0;
}
if(strfind("$stats",text,true)!=-1) {
SendClientMessage( playerid, -1,...
Forum: Scripting Help 25/10/2017, 11:03 AM
Replies: 5
Views: 416
Posted By Danisoni
Re: OnPlayerText

*edit:

Try this:

stock PlayerName(playerid)
{
new pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, sizeof(pname));
return pname;
}
Forum: Scripting Help 25/10/2017, 10:52 AM
Replies: 9
Views: 632
Posted By Danisoni
Re: Script crash

bump @Dayrion ??
Forum: Scripting Help 24/10/2017, 11:07 PM
Replies: 10
Views: 707
Posted By Danisoni
Re: Time convert

1000 ms is 1 second, so you can easily calculate.

*** edit - here is calculation in minutes

SetTimerEx("unarrest",(1000*60)*minutes,false,"i",otherplayerid );
Forum: Scripting Help 24/10/2017, 11:03 PM
Replies: 2
Views: 214
Posted By Danisoni
Re: K/D ratio in sql database

I dont rly understand what you want, something like this or?

new string[ 64 ], Float:ratio;
if ( kills[playerid] > deaths[playerid] ) {
ratio = float(kills[playerid])/float(deaths[playerid]);...
Forum: Scripting Help 24/10/2017, 08:00 PM
Replies: 2
Views: 242
Posted By Danisoni
Re: Please A need a little help here

If keys are problem, read this:
http://wiki.sa-mp.com/wiki/Keys
Forum: Filterscripts 24/10/2017, 04:46 PM
Replies: 22
Views: 10,766
Posted By Danisoni
Re: [I&I] Inventory & Item (RP/RPG/Survival:20+Func)

Well, this is excellent, good job, 10/10.
Forum: Scripting Help 24/10/2017, 04:43 PM
Replies: 13
Views: 503
Posted By Danisoni
Re: sscanf problem

You don't see this :P ?
ObjectInfo[o][oX] = float(x);
There is float(x).
Forum: Scripting Help 24/10/2017, 04:29 PM
Replies: 13
Views: 503
Posted By Danisoni
Re: sscanf problem

Myb try something like this:

cmd:cObject(playerid, params[])
{
new model,x,y,z,rx,ry,rz,vw,in;
if(sscanf(params, "iiiiiiiii", model,x,y,z,rx,rx,rz,vw,in)) return...
Forum: Scripting Help 24/10/2017, 04:23 PM
Replies: 25
Views: 619
Posted By Danisoni
Re: little help pls

That will be problem, because textdraw string will change globally every time someone kill someone else. And if someone is looking at that textdraw, it will change for him to, even he isn't killer.
Forum: Scripting Help 24/10/2017, 04:21 PM
Replies: 4
Views: 354
Posted By Danisoni
Re: Gangzone Color.

Try this.

stock HexToInt(string[]) // By DracoBlue
{
if (string[0]==0) return 0;
new i;
new cur=1;
new res=0;
for (i=strlen(string);i>0;i--) {
if (string[i-1]<58)...
Forum: Scripting Help 24/10/2017, 04:18 PM
Replies: 25
Views: 619
Posted By Danisoni
Re: little help pls

When you want to use global textdraw as player textdraws, sometimes it might be a problem.

Look at this: http://wiki.sa-mp.com/wiki/Textdraw#Per-Player_Textdraw
Forum: Scripting Help 24/10/2017, 03:23 PM
Replies: 25
Views: 619
Posted By Danisoni
Showing results 1 to 25 of 50

 

All times are GMT. The time now is 05:20 AM.


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