SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 296
Search took 0.01 seconds.
Search: Posts Made By: GameOvr
Forum: Scripting Help 18/07/2020, 08:01 AM
Replies: 4
Views: 229
Posted By GameOvr
Re: New to Loops such as these ones, any advice?

This isn't the way to do it. You should consider array as the ID. do what grymton told. make a seperate token called taken and make it true when taken and false when its removed then loop through all...
Forum: Scripting Help 15/07/2020, 06:56 PM
Replies: 7
Views: 268
Posted By GameOvr
Re: Server Crash

No not at all, It happens when you use heavy plugins as Ghazal said... Try logging every actions players take and happening in the server everytime. so when server crash you can compare em and...
Forum: Scripting Help 15/07/2020, 05:49 PM
Replies: 7
Views: 229
Posted By GameOvr
Re: How to do this cmd to short

Yeah true, but only in the side of cleanliness of the script, look.. that script has an additional 2 dimentional array with an enum along with a loop. I dont see any disturbunce with using that code...
Forum: Scripting Help 15/07/2020, 05:37 PM
Replies: 3
Views: 147
Posted By GameOvr
Re: random numbers

Actually he is talking about random() along with percentages

I will put the full form here--

Suppose that the eur value is eval;

This is the value u want = eval - (eval * (10 +...
Forum: Scripting Help 14/07/2020, 03:58 AM
Replies: 5
Views: 215
Posted By GameOvr
Re: OnPlayerStateChange SPAM

OnPlayerUpdate is like a premade iterative timer. If you wanna really do this, detect player velocity.. if its not equal to 0 in one ofl the 3 axes. That means player is moving.


hook...
Forum: Scripting Help 13/07/2020, 04:52 PM
Replies: 4
Views: 143
Posted By GameOvr
Re: "File or function is not found"

Eh my bad ;D

Means that its abt version difference, load the exact same version. I saw that natives are little bit changed in the latest version than the one you use.
Forum: Scripting Help 13/07/2020, 04:49 PM
Replies: 4
Views: 143
Posted By GameOvr
Re: "File or function is not found"

Its not only SKY. Load this plugin
https://github.com/CyberMor/sampvoice/releases
Look for the correct version..

Next time look at all your includes and check what things out of em are...
Forum: Scripting Help 13/07/2020, 09:06 AM
Replies: 2
Views: 197
Posted By GameOvr
Re: Detect text in string and same chars

if(strlen(inputtext) <= 20 && strlen(inputtext) >= 4)
{
new query[88];
new uc, sc;
for(new i = 0, l = strlen(inputtext); i < l; i ++)
{
if (inputtext[i] == ' ')
...
Forum: Scripting Help 13/07/2020, 08:52 AM
Replies: 2
Views: 95
Posted By GameOvr
Re: Error 217

https://forum.sa-mp.com/showthread.php?t=256961
Forum: Everything and Nothing 07/07/2020, 02:09 PM
Replies: 14
Views: 670
Posted By GameOvr
Re: Can a 12 year old learn scripting?

Your question is totally wrong... anyone can start to learn scripting at 12. The question comes about the time..how much will you take to hang up with concepts, well that depends on your logical...
Forum: Scripting Help 06/07/2020, 03:55 PM
Replies: 4
Views: 136
Posted By GameOvr
Re: Amx backtrace on a simple line

It happens cause sizeof() gives the maximum value possible + 1 to the next dimension
for example, spse that you have an array like this


new arr[500][50][40];

now here.. if you use ...
Forum: Includes 06/07/2020, 09:45 AM
Replies: 6
Views: 2,546
Posted By GameOvr
Re: MySQL Prepared Statements

Here we go... mysql stmts in samp, gr8 work dude!!
Forum: Scripting Help 06/07/2020, 09:37 AM
Replies: 7
Views: 257
Posted By GameOvr
Re: Vehicle ID problems

Well this happens cause of id collision. If you are destroying the vehicle after player disconnect. Dont forget to make,

carbought[vehicleid] = false;

And this scenario has nothing to do with...
Forum: Maps 06/07/2020, 07:38 AM
Replies: 5
Views: 967
Posted By GameOvr
Re: Realistic Fort Carson [Total Revamp]

Very nice. you have made some effort...
Forum: Scripting Help 06/07/2020, 07:29 AM
Replies: 10
Views: 305
Posted By GameOvr
Re: mysql errors

If you are using the query on behalf of a string variable Increase your string size...if its str[128] make it like str[150], if you are not doing that.. show the whole query
Forum: Scripting Help 06/07/2020, 07:26 AM
Replies: 14
Views: 558
Posted By GameOvr
Re: How can I learn PAWN?

Heh, no..he told that cuz you told pawno instead of pawn. Lmao, pawno is an editor. Pawn is a language...
Forum: Scripting Help 04/07/2020, 07:07 PM
Replies: 14
Views: 558
Posted By GameOvr
Forum: Scripting Help 04/07/2020, 06:23 PM
Replies: 6
Views: 188
Posted By GameOvr
Re: SAM(P)CE Download help.

Just don't hang around a word and yell like bla, bla.. what he meant is, majority. Improve your common sense.
Forum: Scripting Help 04/07/2020, 03:50 PM
Replies: 6
Views: 188
Posted By GameOvr
Re: SAM(P)CE Download help.

https://archive.codeplex.com/?p=sampce
Click on binaries under downloads
Forum: Scripting Help 04/07/2020, 01:27 PM
Replies: 11
Views: 327
Posted By GameOvr
Re: samp.ban and temporary banning

Thanks for the ideas.. REP for all :D
Forum: Scripting Help 04/07/2020, 09:00 AM
Replies: 11
Views: 327
Posted By GameOvr
Re: samp.ban and temporary banning

Actually you didnt get me, how can i unban him at the exact time when he is in samp.ban? That's my problem ;)
Forum: Scripting Help 04/07/2020, 08:37 AM
Replies: 14
Views: 558
Posted By GameOvr
Re: How can I learn PAWN?

A beta tester means someone who test functions and stuff at beta development stage of a new version! I dont think Kalcor will hire anymore beta testers.

for the first question, You should try...
Forum: Scripting Help 04/07/2020, 08:09 AM
Replies: 4
Views: 158
Posted By GameOvr
Re: Dance arrows

It's possible, We cant only detect that at OnPlayerKeyStateChange. By using GetPlayerKeys at OnPlayerUpdate or a Timer we can detect this.
Forum: Scripting Help 04/07/2020, 08:06 AM
Replies: 4
Views: 154
Posted By GameOvr
Re: Deleting the tag if it is inside the name

Oh man I'm sorry, You should remove that -1



getting into reg.ex is not that much of a deal. btw use that only if you have too many string manipulation codes!
cuz loading a plugin just only...
Forum: Scripting Help 04/07/2020, 12:36 AM
Replies: 11
Views: 327
Posted By GameOvr
Re: samp.ban and temporary banning

Thank you so much for both of you! :D
Another timer xD
Showing results 1 to 25 of 296

 

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


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