SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 145
Search took 0.00 seconds.
Search: Posts Made By: m4karow
Forum: Scripting Help 12/08/2018, 06:32 PM
Replies: 6
Views: 123
Posted By m4karow
Forum: Scripting Help 12/08/2018, 06:30 PM
Replies: 5
Views: 95
Posted By m4karow
Re: MYSQL help needed

The inventory system listing the player item's with their DB ID-s and whenever an item dropped into the floor and picked up this ID is increasing. So the ID-s could be easily above a million that...
Forum: Scripting Help 12/08/2018, 02:45 PM
Replies: 5
Views: 95
Posted By m4karow
MYSQL help needed

Hey

How is it possible to insert the lowest value with AUTO_INCREMENT?
I mean i have about 100 record but I deleted record with ID 2. Whenever I insert something it'll insert to ID 101 but i...
Forum: Scripting Help 12/08/2018, 08:36 AM
Replies: 6
Views: 123
Posted By m4karow
Re: Random coordinates around a positions

Thanks, but it not works as i wanted.
I'm making a 'dumpster diving' system (you can pick up up trashes from the dumpsters and drop it around the player). That i made is almost working as i want,...
Forum: Scripting Help 11/08/2018, 07:50 PM
Replies: 6
Views: 123
Posted By m4karow
Random coordinates around a positions

Hey

How i can get random positions around a position?

For example: Player standing at the middle of the circle
https://puu.sh/BcBhL/6bb7df7ddc.png

How i can get positions outside of the...
Forum: Scripting Help 11/08/2018, 05:45 PM
Replies: 7
Views: 128
Posted By m4karow
Re: Which is the better method?

Okay thanks guys
I'll use dynamic areas
Forum: Scripting Help 11/08/2018, 04:35 PM
Replies: 7
Views: 128
Posted By m4karow
Re: Which is the better method?

I solved it using OnPlayerStateChange so it working as i want.


I don't like using timers for checking theese type of things, but im afraid of using a lot of dynamic area.
For example this kind...
Forum: Scripting Help 11/08/2018, 04:06 PM
Replies: 7
Views: 128
Posted By m4karow
Which is the better method?

Hey

Which is the better method to detect that the player is near to a dumpster. I have about 250 positions and i want to check when the player comes to it.

Method one: Create dynamic areas to...
Forum: Includes 19/06/2018, 04:31 PM
Replies: 106
Views: 20,939
Posted By m4karow
Re: Smart Command Processor (Scripter-friendly, feature rich and fast) (aka iZCMD+)

When will this cmd processor support the NON ASCII characters?
Forum: Screenshots and Videos 04/06/2018, 06:49 PM
Replies: 4
Views: 360
Posted By m4karow
Re: Fishing system

boring...
Forum: Maps 14/05/2018, 03:56 PM
Replies: 5
Views: 745
Posted By m4karow
Forum: Scripting Help 26/04/2018, 06:13 PM
Replies: 14
Views: 301
Posted By m4karow
Re: sizeof operator not functioning

why not use format(tpInfo[tpID][tpName], TP_NAME_SIZE, ""); ???
Forum: Scripting Help 23/04/2018, 12:49 PM
Replies: 1
Views: 94
Posted By m4karow
Re: Arrest Command!

new PlayerArrested[MAX_PLAYERS];

CMD:ar(playerid, params[])
{
if(!PoliceTeam(GetPlayerSkin(playerid))) return SendClientMessage(playerid, 0xE74C3CFF, "{FF0000}Error: {FFFFFF}Only Law...
Forum: Scripting Help 21/04/2018, 05:26 PM
Replies: 7
Views: 268
Posted By m4karow
Re: detect if player take photo

I've never worked with theese functions but i think you have to use GetPlayerCameraPos function and check for the distance between the player camera pos and the object pos
Forum: Scripting Help 21/04/2018, 11:04 AM
Replies: 7
Views: 268
Posted By m4karow
Re: detect if player take photo

maybe this will be fine for you
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(PRESSED(KEY_FIRE))
{
if(GetPlayerCameraMode(playerid) == 46)
{
//The player has taken a...
Forum: Scripting Help 13/04/2018, 08:03 PM
Replies: 2
Views: 126
Posted By m4karow
Forum: Scripting Help 12/04/2018, 05:27 PM
Replies: 11
Views: 280
Posted By m4karow
Re: Calculate RZ from X and Y

I only want to print the positions of a given object model but I can do it on my own, but thanks. :) I'm only was searching for the array :D
Forum: Scripting Help 12/04/2018, 05:19 PM
Replies: 11
Views: 280
Posted By m4karow
Re: Calculate RZ from X and Y

oh my :o this is what i was searching for!! thank you very much :mrgreen::clucker:
Forum: Scripting Help 12/04/2018, 04:57 PM
Replies: 11
Views: 280
Posted By m4karow
Re: Calculate RZ from X and Y

Cool.
Maybe do you know how I could export theese object coordinates from the .IDE / .IPL files like this just with the rotation positions?
...
Forum: Scripting Help 12/04/2018, 03:26 PM
Replies: 11
Views: 280
Posted By m4karow
Re: Calculate RZ from X and Y

Thanks for the reply dude
Anyway i don't really understand what you sayin' with my sh!t english :D But i tried both example that you said

a = atan2(vy, vx) - 90.0

and
...
Forum: Scripting Help 12/04/2018, 08:36 AM
Replies: 6
Views: 212
Posted By m4karow
Re: formatex and y_va

you dont know what is this dont ask stupid questions
Forum: Scripting Help 11/04/2018, 08:11 PM
Replies: 11
Views: 280
Posted By m4karow
Calculate RZ from X and Y

Hey.
I have some dumpster coordinates (exported from dev.prineside) and i want to re-create theese objects with the correct position. Could i calculate the RZ from the X and Y axis or i have to...
Forum: Scripting Help 08/04/2018, 11:22 AM
Replies: 2
Views: 126
Posted By m4karow
Angry Actor animation bug? - Create actors in multiple worlds

Hey

What is this? :mad:
The same animation applied to both actors.

https://puu.sh/zYKxn/26561e387f.png
https://puu.sh/zYKxO/dc2e183501.png
Forum: Scripting Help 07/04/2018, 12:10 PM
Replies: 1
Views: 96
Posted By m4karow
Re: Help me about CallLocalFunction

CallLocalFunction("OnCustomDialogResponse", "dddd", playerid, dialog, response, listitem);
Forum: Scripting Help 07/04/2018, 08:42 AM
Replies: 8
Views: 244
Posted By m4karow
Re: Actors - VirtualWorlds

to what? i have the latest version
Showing results 1 to 25 of 145

 

All times are GMT. The time now is 05:59 PM.


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