SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 450
Search took 0.02 seconds.
Search: Posts Made By: KeyOfKey
Forum: Scripting Help 21/09/2019, 06:41 PM
Replies: 24
Views: 324
Posted By KeyOfKey
Re: I need someone to help me create this command

https://wiki.sa-mp.com/wiki/DestroyObject
https://wiki.sa-mp.com/wiki/RemovePlayerAttachedObject
Forum: Scripting Help 21/09/2019, 06:31 PM
Replies: 24
Views: 324
Posted By KeyOfKey
Re: I need someone to help me create this command

It does what you said because Pawno is not a magician, he can't know how and where destroy objects/vehicles unless you tell him.

If you don't add the destroy object code obviously it will not work.
Forum: Scripting Help 21/09/2019, 04:28 PM
Replies: 24
Views: 324
Posted By KeyOfKey
Re: I need someone to help me create this command

What? The code i provided you - unless proven - is correct. Just place the function outside any callback and call "CreateSkullBike(playerid);" in your command.
Forum: Scripting Help 21/09/2019, 02:51 PM
Replies: 24
Views: 324
Posted By KeyOfKey
Re: I need someone to help me create this command

I just gave you the function and how you can use it.
Forum: Scripting Help 21/09/2019, 12:06 AM
Replies: 24
Views: 324
Posted By KeyOfKey
Re: I need someone to help me create this command

Something like this maybe? (Not tested)


stock CreateSkullBike(playerid)
{
new Float: X, Float: Y, Float: Z, Float: A;

GetPlayerPos(playerid, X, Y, Z);
GetPlayerFacingAngle(playerid, A);
Forum: Scripting Help 21/09/2019, 12:03 AM
Replies: 1
Views: 71
Posted By KeyOfKey
Re: No active cache :|

In which place you're using that code?

You should call it from a threaded query.

OnGameModeInit:

mysql_tquery(g_SQL, "SELECT * FROM `something`", "LoadWeapons");

Outside any callback:
Forum: Scripting Help 20/09/2019, 05:54 PM
Replies: 4
Views: 156
Posted By KeyOfKey
Re: Help for server

Open your pawno folder, there must be a pawn.cfg file. Open it, add -d3, save it and close.

Open Pawno, recompile, you should get more info after.
Forum: Everything and Nothing 20/09/2019, 11:24 AM
Replies: 2
Views: 137
Posted By KeyOfKey
Re: Batman: Arkham Collection free on epic games store

With my potato PC it's a shame that i can't run it. :(
Forum: Scripting Help 20/09/2019, 10:56 AM
Replies: 2
Views: 84
Posted By KeyOfKey
Forum: Scripting Help 20/09/2019, 10:09 AM
Replies: 2
Views: 84
Posted By KeyOfKey
MySQL Weapon Saving

Henlo, i want to save player's weapons so when they reconnect they'll get weapons on spawn.

I was thinking to make a separate table in database called "weapons" and stole player's weapons there,...
Forum: Scripting Help 19/09/2019, 05:32 PM
Replies: 3
Views: 136
Posted By KeyOfKey
Re: Looking For Scripters/Web Dev/Mappers

Then the topic i linked you perfectly fits your needs.
Forum: Scripting Help 19/09/2019, 04:49 PM
Replies: 8
Views: 223
Posted By KeyOfKey
Re: define Unlimited number

I still don't understand what are you asking...
Forum: Scripting Help 19/09/2019, 02:15 PM
Replies: 3
Views: 136
Posted By KeyOfKey
Re: Looking For Scripters/Web Dev/Mappers

https://forum.sa-mp.com/showthread.php?t=447813
Forum: Screenshots and Videos 19/09/2019, 11:10 AM
Replies: 2
Views: 164
Posted By KeyOfKey
Re: Doggo

But i like it.
Forum: Screenshots and Videos 19/09/2019, 09:29 AM
Replies: 2
Views: 164
Posted By KeyOfKey
Doggo

I like normal things.

Forget the RC Bandit crime message.

Click the doggo for the video.

https://i.ibb.co/6mCPkWJ/doggo.png (https://youtu.be/bMQBBs1JXAA)
Forum: Server Support 19/09/2019, 01:09 AM
Replies: 14,336
Views: 1,716,736
Posted By KeyOfKey
Re: Looking for scripters/helpers? Post here!

Looking for beta testers/trial moderators/moderators for an upcoming CNR server which launch is planned on October 1st. If you're intered join our Discord (signature).

Or you can also apply on...
Forum: Scripting Help 19/09/2019, 01:07 AM
Replies: 5
Views: 156
Posted By KeyOfKey
Forum: Filterscripts 18/09/2019, 08:12 PM
Replies: 82
[FilterScript] Groups Script
Views: 33,367
Posted By KeyOfKey
Re: Groups Script

Add it on top of your gamemode:


#if !defined isnull
#define isnull(%1) \
((!(%1[0])) || (((%1[0]) == '\1') && (!(%1[1]))))
#endif
Forum: Server Support 18/09/2019, 08:09 PM
Replies: 2
Views: 116
Posted By KeyOfKey
Re: What is the difference between Mysql R5 plugin and R40?

It's like asking what's the difference between a tractor and a Ferrari...

Apart from years of difference, the speed and the efficiency.

Question is another:

If you started to script from...
Forum: Scripting Help 18/09/2019, 07:09 PM
Replies: 8
Views: 187
Posted By KeyOfKey
Re: Getting ammo of holding weapon

For that type of setting i'd go for a textdraw. Create the textdraw with a textdraw editor and directly place it below the kill feed, instead of working with spaces, tabs and identation.
Forum: Scripting Help 18/09/2019, 07:06 PM
Replies: 2
Views: 84
Posted By KeyOfKey
Re: How to check if player is near vehicle

You can use GetClosestVehicle and check if the vehicle id is not invalid.


GetClosestVehicle(playerid, Float: range)
{
new
vehicleid = -1,
Float: last = range,
...
Forum: Scripting Help 18/09/2019, 06:42 PM
Replies: 10
Views: 296
Posted By KeyOfKey
Forum: Scripting Help 17/09/2019, 11:42 AM
Replies: 6
Views: 164
Posted By KeyOfKey
Re: Detect if player is on water

Yeah I'd also need this so I'm following. Looking forward for replies.
Forum: Server Support 17/09/2019, 11:39 AM
Replies: 2
Views: 81
Posted By KeyOfKey
Re: PAY for ANNOUNCE ?

Internet list is a thing, hosted tab is another. Your server will appear on internet list if you set announce to 1 in server.cfg
However, if you want more visibility and players buy hosted tab.
Forum: Scripting Help 16/09/2019, 10:30 PM
Replies: 3
Views: 138
Posted By KeyOfKey
Re: Unmatched tilde

The tilde is this: ~

I forgot to add it.

Also why your SACNR Monitor signature works and mine not? Strange :|
Showing results 1 to 25 of 450

 

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


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