SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.02 seconds.
Search: Posts Made By: DRIFT_HUNTER
Forum: Scripting Help 02/08/2020, 10:09 AM
Replies: 1
Views: 53
Posted By DRIFT_HUNTER
Re: Object dissappears when I move the mouse

I can see that your map is going into Y negative coordinates way to far. Its actually known GTA SA "bug"
Try teleporting to the other side of the road, i think objects will be fine there and start...
Forum: Scripting Help 16/07/2020, 09:34 PM
Replies: 4
Views: 128
Posted By DRIFT_HUNTER
Re: MySQL R31-4 "plugin failed"

https://github.com/pBlueG/SA-MP-MySQL/tree/R41-4#faq
Forum: Scripting Help 16/07/2020, 09:31 PM
Replies: 5
Views: 142
Posted By DRIFT_HUNTER
Re: if, else, else if, problem

In these case LobbyPlayers has to be defined as array of iterators. Something like:
new Iterator:LobbyPlayers[MAX_LOBBIES]<MAX_PLAYERS>;
If so, iterating thru lobbies is impossible (unsupported as...
Forum: Scripting Help 16/07/2020, 07:15 PM
Replies: 4
Views: 619
Posted By DRIFT_HUNTER
Re: Array initialization from string with SSCANF

You can save in binary, problem would be if you use enum since any modification to it would corrupt files. But since you use simple array that wont be problem.

Save
new File:file =...
Forum: Scripting Help 16/07/2020, 04:38 PM
Replies: 5
Views: 142
Posted By DRIFT_HUNTER
Re: if, else, else if, problem

public OnPlayerConnect(playerid)
{
new playerLobby = AddPlayerToLobby(playerid);
if(playerLobby == -1) SendClientMessage(playerid, -1, "ERROR: All lobies are full");
return 1;
}

...
Forum: Scripting Help 16/07/2020, 04:27 PM
Replies: 2
Views: 94
Posted By DRIFT_HUNTER
Re: Crashdetect problem (I think)

To me it looks like sampvoice plugin, also check OnPlayerActivationKeyPressForAll, its mentioned there.
And i cant but notice CVector plugin, if im right thats dynamic memory allocation, everything...
Forum: Scripting Help 16/07/2020, 04:21 PM
Replies: 1
Views: 95
Posted By DRIFT_HUNTER
Re: Mapping in filterscript

Everything depends on how/where you create objects.
You probably dont destroy objects OnFilterScriptExit
Forum: Scripting Help 16/07/2020, 01:34 PM
Replies: 9
Views: 263
Posted By DRIFT_HUNTER
Re: onplayerrequestspawn problem.

OnPlayerRequestSpawn is called when player presses spawn button (and setting player position there wont work), you are looking for OnPlayerSpawn callback
Forum: Scripting Help 16/07/2020, 01:32 PM
Replies: 1
Views: 74
Posted By DRIFT_HUNTER
Re: e_dialog.inc

Seems like these is what you are looking for
https://pastebin.com/c9SRPGHK
Forum: Scripting Help 15/07/2020, 09:21 PM
Replies: 2
Views: 124
Posted By DRIFT_HUNTER
Re: eSelection.inc?

Did you even try to search? I typed "github eSelection" and it was first result...

https://github.com/devlexanderxyz/eSelection
Forum: Scripting Help 15/07/2020, 09:15 PM
Replies: 3
Views: 179
Posted By DRIFT_HUNTER
Re: Title[MAX_TITLES][128] in Enum

There shouldn't be arrays inside enums in the first place, but pawn allows it and we abuse it. And when you try to use multidimensional array inside multidimensional array, dont blame pawn, too much...
Forum: Scripting Help 14/07/2020, 03:07 PM
Replies: 5
Views: 215
Posted By DRIFT_HUNTER
Re: OnPlayerStateChange SPAM

No need, just save time when OnPlayerUpdate was called. If player is AFK, OnPlayerUpdate is not called (he does not send any packets)
Forum: Scripting Help 14/07/2020, 12:55 AM
Replies: 5
Views: 215
Posted By DRIFT_HUNTER
Re: OnPlayerStateChange SPAM

Thats what it does...about 10 times a second (depending on many things starting with ping).
Forum: Scripting Help 13/07/2020, 06:25 PM
Replies: 2
Views: 158
Posted By DRIFT_HUNTER
Re: CreateVehicle Error Multiple ID(Private Vehicle System)

Show how you defined PVehicles and how you create them
Forum: Scripting Help 13/07/2020, 12:30 AM
Replies: 2
Views: 113
Posted By DRIFT_HUNTER
Re: fread crash the server

Check files and folders permissions
Forum: Scripting Help 12/07/2020, 02:56 AM
Replies: 8
Views: 265
Posted By DRIFT_HUNTER
Re: About difference

Heavier on CPU is relatively speaking, CPU will have to work more on packed strings but not like its gonna lag your server or anything even close to that, its just a fact. And about not approved,...
Forum: Scripting Help 10/07/2020, 03:51 PM
Replies: 5
Views: 164
Posted By DRIFT_HUNTER
Re: Players being kicked from the server

Maybe your server crashes or restarts? If you are on a hosting, they might have a script to auto restart server on a crash (all decent game hostings do have it).
Forum: Scripting Help 10/07/2020, 03:48 PM
Replies: 6
Views: 181
Posted By DRIFT_HUNTER
Re: Help with NPC

No that can only be done with NPC's. You cant even put actors in a vehicle.
Forum: Scripting Help 10/07/2020, 02:54 PM
Replies: 6
Views: 181
Posted By DRIFT_HUNTER
Re: Help with NPC

They are not NPC's they are actors. Basically difference between them is that NPC's should be able to do everything player does (and in fact they are connected as players just with a special flag)...
Forum: Scripting Help 10/07/2020, 02:49 PM
Replies: 5
Views: 164
Posted By DRIFT_HUNTER
Re: Players being kicked from the server

Its actually a known samp bug, sometimes when you lose connection or server restarts it will say you are banned from the server. I dont know why these happens and how to fix it, but it is a known bug...
Forum: Scripting Help 10/07/2020, 02:47 PM
Replies: 6
Views: 155
Posted By DRIFT_HUNTER
Re: Make dialog list item

Pretty sure he is asking for a whole system, if so friend these is a help section, try to make it and ask for help when you get stuck.
Forum: Scripting Help 10/07/2020, 02:45 PM
Replies: 6
Views: 151
Posted By DRIFT_HUNTER
Re: tag mismatch

playerCoins should be Float
And just using
pInfo[playerid][playerCoins]+=0.25;
will add 0.25 to existing ammount of playerCoins
Forum: Scripting Help 10/07/2020, 02:42 PM
Replies: 12
Views: 1,092
Posted By DRIFT_HUNTER
Re: Protection is possible ?

Forbidding money transfer is a joke from my perspective, its not countermeasure, just annoyance at best. What does it solve? Literally nothing. Accounts receiving money, they are not the problem......
Forum: Scripting Help 10/07/2020, 12:26 AM
Replies: 12
Views: 1,092
Posted By DRIFT_HUNTER
Re: Protection is possible ?

Well your problem is not just in people selling accounts, but in the fact that they can gain money to easy (since they are just throwing it around).
Forum: Scripting Help 09/07/2020, 06:40 PM
Replies: 12
Views: 1,092
Posted By DRIFT_HUNTER
Re: Protection is possible ?

No there is no 100% protection. GPCI can be changed, and most tools actually generate random string from it.
Ip can be changed, and most people actually have dynamic IP (if they use router all they...
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 06:32 PM.


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