SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 359
Search took 0.02 seconds.
Search: Posts Made By: Lokii
Forum: Scripting Help 22/11/2019, 10:50 PM
Replies: 3
Views: 116
Posted By Lokii
Re: skins

https://wiki.sa-mp.com/wiki/Skins:All
Forum: Scripting Help 13/11/2019, 05:25 PM
Replies: 1
Views: 82
Posted By Lokii
Re: 3DTRYG.İNC ERROR

It tells you what to do

Define before 3Dtryg


#define ENABLE_3D_TRYG_YSI_SUPPORT
#include <3DTryg>
Forum: Filterscripts 12/11/2019, 08:11 PM
Replies: 4,009
Views: 2,132,094
Posted By Lokii
Re: Useful Functions

TextNumberToValue:

converts numbers like with "," "." and spaces to values


TextNumberToValue(number[])
{
for(new i = 0, j = strlen(number); i < j; i++)
{
if(number[i] == ',' ||...
Forum: Scripting Help 05/11/2019, 07:38 PM
Replies: 11
Views: 245
Posted By Lokii
Re: File or Function not found:

Either Streamer is not loaded or Outdated.
Forum: Filterscripts 05/11/2019, 07:02 PM
Replies: 1,169
Sticky: Useful Snippets
Views: 572,749
Posted By Lokii
Re: Useful Snippets

Display Vehicle Names (random Color + fade)




#include <a_samp>

static const RandomColors[][] =
{
"~r~", "~w~", "~g~", "~b~", "~y~", "~p~",
Forum: Filterscripts 05/11/2019, 06:58 PM
Replies: 1,169
Sticky: Useful Snippets
Views: 572,749
Posted By Lokii
Re: Useful Snippets

Rainbow Car




#include <a_samp>
#include <foreach>
#include <zcmd>

#define CAR_RAINBOW_DELAY (150)
Forum: Scripting Help 03/11/2019, 02:42 PM
Replies: 4
Views: 78
Posted By Lokii
Forum: Filterscripts 02/11/2019, 11:20 PM
Replies: 7
[FilterScript] Dial SpeedoMeter
Views: 978
Posted By Lokii
Re: Dial SpeedoMeter

Updated

Added "0" to speedometer.
Forum: Filterscripts 02/11/2019, 10:14 PM
Replies: 7
[FilterScript] Dial SpeedoMeter
Views: 978
Posted By Lokii
Forum: Scripting Help 02/11/2019, 07:55 PM
Replies: 4
Views: 205
Posted By Lokii
Re: What object is this?

i think its a retextured ball + rope
Forum: Filterscripts 02/11/2019, 07:28 PM
Replies: 7
[FilterScript] Dial SpeedoMeter
Views: 978
Posted By Lokii
Re: Dial SpeedoMeter

UPDATE: ok now the needle stops on 180-185 (tested with infernus)

UPDATE 2: I'll leave it as it is cause it seems quit accurate anyway
Forum: Filterscripts 02/11/2019, 07:02 PM
Replies: 7
[FilterScript] Dial SpeedoMeter
Views: 978
Posted By Lokii
Re: Dial SpeedoMeter

while this is true for digital but i calculate the needle :) the needle starts at 135 degrees and ends at -135 result 270.
Forum: Scripting Help 02/11/2019, 03:37 PM
Replies: 8
Views: 216
Posted By Lokii
Re: command to kill all players

Update you'r pawno
Forum: Filterscripts 02/11/2019, 03:12 PM
Replies: 7
[FilterScript] Dial SpeedoMeter
Views: 978
Posted By Lokii
Dial SpeedoMeter

Dial SpeedoMeter


Realistic SpeedoMeter with dial and needle.



Pic:
Forum: Scripting Help 01/11/2019, 08:34 PM
Replies: 9
Views: 286
Posted By Lokii
Re: Bike up arrow spam

it will not calculate the height speed so you wont have problems with free fall
Forum: Scripting Help 01/11/2019, 07:53 PM
Replies: 9
Views: 286
Posted By Lokii
Re: Bike up arrow spam

Dont calculate the height (Z)
Forum: Scripting Help 30/10/2019, 08:27 PM
Replies: 6
Views: 244
Posted By Lokii
Re: help me about hackers

Why wait until someone dies when you can prevent damage


public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart)
{
new Float:hp;
if(weaponid == 38)
{
...
Forum: Scripting Help 23/10/2019, 05:31 PM
Replies: 22
Views: 762
Posted By Lokii
Re: Show Notifications [Come in/Get out] Safezone

it works fine for me, i break the loop once enter the zone, you probably added what i send you and placed it inside a loop
Forum: Scripting Help 23/10/2019, 02:22 PM
Replies: 22
Views: 762
Posted By Lokii
Re: Show Notifications [Come in/Get out] Safezone

Theres no cration i see /gotosz /szedit and /szdelete

I made an example:


#include <a_samp>
#include <streamer>

#define MAX_SAFE_ZONES (4) //how many safe zones
Forum: Scripting Help 21/10/2019, 03:29 PM
Replies: 22
Views: 762
Posted By Lokii
Re: Show Notifications [Come in/Get out] Safezone

Did you create the areas? and did you load streamer?
Forum: Scripting Help 17/10/2019, 11:35 PM
Replies: 1
Views: 112
Posted By Lokii
Re: K/D ratio as score

https://wiki.sa-mp.com/wiki/Floatround
https://wiki.sa-mp.com/wiki/Floatround_method


floatround(kd, floatround_round);
Forum: Scripting Help 15/10/2019, 04:08 PM
Replies: 4
Views: 253
Posted By Lokii
Re: [Cheater] Car destruction

if player is in a car and uses this type of troll OnPlayerStateChange wont be called
Forum: Scripting Help 15/10/2019, 12:48 PM
Replies: 10
Views: 466
Posted By Lokii
Re: Random Team

store amount of connected players


new connected; //where we store amount of connected players.

public OnPlayerConnect(playerid)
{
if(!IsPlayerNPC(playerid))
{
connected ++; //on...
Forum: Includes 15/10/2019, 09:36 AM
Replies: 1
[Include] Keypad (clickable)
Views: 1,160
Posted By Lokii
Re: Keypad (clickable)

Updated V1.3
Forum: Scripting Help 14/10/2019, 07:34 PM
Replies: 9
Views: 306
Posted By Lokii
Re: Aim robbery problems?

https://forum.sa-mp.com/showthread.php?t=643626
Showing results 1 to 25 of 359

 

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


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