SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 17 of 17
Search took 0.00 seconds.
Search: Posts Made By: zampa
Forum: Scripting Help 07/06/2020, 06:23 PM
Replies: 4
Views: 113
Posted By zampa
Re: invisible in radar

Could be a problem with your variable. Add debug to each team.
Forum: Scripting Help 07/06/2020, 04:23 PM
Replies: 10
Views: 348
Posted By zampa
Re: Help me please

It's because you're using a gamemode that you didn't write, this is a LSRP copycat made by Kane if i'm not wrong. It was probably left with bugs.
Forum: Scripting Help 07/06/2020, 04:17 PM
Replies: 1
Views: 122
Posted By zampa
Re: Distance under minimap

new PlayerText:yourtextdraw[MAX_PLAYERS];


You create the textdraw, use iploemax or some other filterscript
You update it every 1/2 second(s), use a timer.

You use this when you want to show...
Forum: Scripting Help 05/06/2020, 04:38 PM
Replies: 11
Views: 302
Posted By zampa
Re: R33 to R40 (some errors)

new cashvar;
cache_get_value_name_int(0, "Cash", cashvar);

SetPVarInt(playerid, "Cash", cashvar);

read this (https://wiki.sa-mp.com/wiki/MySQL/R40)
Forum: Scripting Help 03/06/2020, 08:01 PM
Replies: 5
Views: 171
Posted By zampa
Re: checkip

forward IpInfo(playerid, ip[]);
public IpInfo(playerid)
{
new name[MAX_PLAYER_NAME], string[256], count = 0;

for(new i = 0; i < cache_num_rows(); i++)
{
cache_get_value_name(i,...
Forum: Scripting Help 03/06/2020, 03:57 PM
Replies: 1
Views: 93
Posted By zampa
Re: how do i download these includes and mysql plugins

Download the mysql plugin/include here (https://github.com/pBlueG/SA-MP-MySQL/releases)
Forum: Scripting Help 03/06/2020, 03:55 PM
Replies: 0
Views: 66
Posted By zampa
Get Attached object to vehicle position

Map cords, ps: not for vehicle attachment system
Forum: Scripting Help 02/06/2020, 10:25 AM
Replies: 5
Views: 157
Posted By zampa
Re: /Exit problem

Can you show the function IsPlayerInRPG ?
Forum: Scripting Help 30/05/2020, 10:40 PM
Replies: 3
Views: 89
Posted By zampa
Re: Object ID

https://dev.prineside.com/en/gtasa_samp_model_id/

Use this website to find all the object ids you want.
Forum: Scripting Help 30/05/2020, 10:31 PM
Replies: 3
Views: 89
Posted By zampa
Forum: Scripting Help 30/05/2020, 11:56 AM
Replies: 16
Views: 358
Posted By zampa
Re: Problem MovableObjects

Use this code


new lspdbarrier, BarrierArea, barrierTimer;

//OnGameModeInit
lspdbarrier = CreateDynamicObject(968, 1544.69995, -1630.80005, 13.10000, 0.00000, 90.00000, 90.00000); // closed...
Forum: Scripting Help 29/05/2020, 09:13 PM
Replies: 16
Views: 358
Posted By zampa
Re: Problem MovableObjects

Try this code, worked for me.
Also if you don't have streamer plugin download it here (https://github.com/samp-incognito/samp-streamer-plugin/releases)



new lspdbarrier;

lspdbarrier =...
Forum: Scripting Help 29/05/2020, 11:36 AM
Replies: 2
Views: 142
Posted By zampa
Forum: Scripting Help 28/05/2020, 06:22 PM
Replies: 2
Views: 142
Posted By zampa
Invisible object has a Silhouette in interiors problem

I'm trying to create a dummy object but i have to place it in a interior and it shows a silhouette. This happens with all the other objects. It doesn't happen if it's not created in interiors.
...
Forum: Scripting Help 28/05/2020, 02:36 PM
Replies: 4
Views: 163
Posted By zampa
Re: How to detect when a player hits an object that has no collision

Thank you, this really helped.
I completly forgot that I can just create an object at the same position and set its material to a invisible one.
Forum: Scripting Help 28/05/2020, 01:41 PM
Replies: 4
Views: 163
Posted By zampa
Forum: Scripting Help 27/05/2020, 12:25 PM
Replies: 4
Views: 163
Posted By zampa
How to detect when a player hits an object that has no collision

Hello, I tried using OnPlayerWeaponShot (for non-dynamic object) and OnPlayerShootDynamicObject (for dynamic object) but none of those two seemed to work. The object ID is 2921, I'm assuming that...
Showing results 1 to 17 of 17

 

All times are GMT. The time now is 02:33 PM.


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