SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: MP2
Forum: Server Advertisements 22/01/2020, 01:36 PM
Replies: 0
Views: 4
Posted By MP2
Mike's Cops and Robbers

http://www.mikescnr.com/images/titlelogobig.png (http://www.mikescnr.com)
http://mikescnr.com/forum/Themes/default/images/smflogo.png (http://www.mikescnr.com/samp)

As with any cops and robbers...
Forum: Scripting Help 03/12/2019, 11:12 PM
Replies: 1
Views: 85
Posted By MP2
Re: technical question

Is the large, red, bold, centered text really necessary?


You havenít even explained what your issue is. In what way is it not functioning properly?
Forum: Everything and Nothing 02/12/2019, 10:00 PM
Replies: 12
Views: 764
Posted By MP2
Re: Versions

0.1b all the way
Forum: Scripting Help 31/10/2019, 11:08 PM
Replies: 2
Views: 159
Posted By MP2
Re: Custom Object Resize

This is not related to scripting PAWN.

https://forum.sa-mp.com/forumdisplay.php?f=90
Forum: Scripting Help 31/10/2019, 11:06 PM
Replies: 8
Views: 295
Posted By MP2
Re: Only join SAMP R3

Might want to show them a message explaining why they are being kicked...

Note that you have to delay Kick() by 0.5 seconds (500ms) or so after the message because the Kick() packet has priority...
Forum: Scripting Help 31/10/2019, 11:04 PM
Replies: 4
Views: 175
Posted By MP2
Re: Runtime Error

Classic. killerid will be INVALID_PLAYER_ID (65535) if the player dies from suicide. Using killerid without first checking it is valid (i.e. not INVALID_) in an array will cause this RT error.

...
Forum: Scripting Help 31/10/2019, 11:01 PM
Replies: 3
Views: 243
Posted By MP2
Re: Tow truck AttachTrailerToVehicle

Is there a driver in the to-be-towed vehicle? You cannot tow a vehicle with a driver.

If not please show the code.
Forum: General 31/10/2019, 10:59 PM
Replies: 1,037
Views: 295,675
Posted By MP2
Re: Is it still worth it?

Thatís good to hear, thanks. Would you be able to take a look into the issue whereby Ďthe Ďcolumn 2 widthí parameter is ineffective in the menu? Both columns use the size specified for column 1.
...
Forum: Scripting Help 28/10/2019, 11:41 AM
Replies: 4
Views: 160
Posted By MP2
Re: Make vehicle lights come on at night, off at day

If you want to synchronise time between players you need a 1 second repeating timer to increase the time stored in variables. You can then set a players time when they spawn and every few minutes to...
Forum: Scripting Help 27/10/2019, 10:51 AM
Replies: 4
Views: 160
Posted By MP2
Re: Make vehicle lights come on at night, off at day

Do you already have a system to track and sync time between players?
Forum: Scripting Help 27/10/2019, 01:28 AM
Replies: 3
Views: 210
Posted By MP2
Re: Is it possible

Use GetPlayerWeapon under OnPlayerWeapon. Save the players current weapon into a variable there. Next time OPU is called check if GetPlayerWeapon is different. If so, ApplyAnimation.
...
Forum: Scripting Help 27/10/2019, 12:57 AM
Replies: 4
Views: 214
Posted By MP2
Re: Snippets for VS Code?

Not sure but I would highly recommend Sublime Text.

https://forum.sa-mp.com/showthread.php?t=626423
Forum: Scripting Help 27/10/2019, 12:55 AM
Replies: 1
Views: 105
Posted By MP2
Re: Need help please

The return keyword halts the execution of the function. You have three return statements. Two of them are in an if/else condition so one of them is guaranteed to be called. This means the third one...
Forum: Scripting Help 27/10/2019, 12:50 AM
Replies: 1
Views: 124
Posted By MP2
Re: Invalid String error pls help

Post the code not a picture of the code please.
Forum: Scripting Help 27/10/2019, 12:48 AM
Replies: 3
Views: 166
Posted By MP2
Re: Russian Language Help

The player must have the correct Windows system language setting to show these characters.

https://forum.sa-mp.com/showpost.php?p=1073428&postcount=3
Forum: Scripting Help 27/10/2019, 12:45 AM
Replies: 2
Views: 164
Posted By MP2
Re: Server freezed with foreach

It’s possible that respawning the vehicle inside the iterator loop removes it from the iterator and breaks the loop. You would then need to use Iter_SafeRemove (I think that is the function name) to...
Forum: Scripting Help 27/10/2019, 12:42 AM
Replies: 6
Views: 152
Posted By MP2
Re: HELP "strtok"

Best solution: donít use strtok.

More helpful solution: The error is self-explanatory. Youíre missing the strtok.inc file. G00gle it.

https://wiki.sa-mp.com/wiki/Strtok

Put the strtok...
Forum: Scripting Help 27/10/2019, 12:37 AM
Replies: 10
Views: 316
Posted By MP2
Re: Players sometimes get 'You are banned from the server' upon /enter

Canít see from the code you posted but this may possibly be an infinite loop type situation causing the player to exceed the ackslimit and time out. Iíve had that happen before with these results.
...
Forum: Scripting Help 27/10/2019, 12:34 AM
Replies: 4
Views: 167
Posted By MP2
Re: HELP!

What version of the MySQL plugin are you using?

It looks to me like you aren’t loading values correctly for the new MySQL plugin API: https://forum.sa-mp.com/showthread.php?t=616103
Forum: General 27/10/2019, 12:31 AM
Replies: 16
Views: 1,473
Posted By MP2
GTA San Andreas 15 year anniversary

Itís hard to believe that GTA San Andreas is now 15 years old!

https://www.ladbible.com/entertainment/gaming-grand-theft-auto-san-andreas-is-15-years-old-today-20191026.amp.html

Itís crazy that...
Forum: Includes 13/10/2019, 07:48 PM
Replies: 568
Views: 143,273
Posted By MP2
Re: Dialogs include - Adding new styles to SAMP GUI

Do you have a version of this that doesn't rely on a plugin?

You said this:

But that doesn't seem to be true? :confused:
Forum: Includes 02/10/2019, 04:39 PM
Replies: 1,231
Views: 294,385
Posted By MP2
Re: Nex-AC - Anticheat system

Cheat code 31 (Anti-CarShot) is detected when a player is a passenger in a vehicle without a driver and said vehicle is surfing another vehicle being driven by a player.

See video:...
Forum: Scripting Help 28/09/2019, 07:37 AM
Replies: 5
Views: 251
Posted By MP2
Re: Issue with Player Death System.

Are you forcibly spawning the player when they login or something, instead of relying on them pressing ‘SPAWN’? I have found that if you do so you the server thinks they haven’t selected a class and...
Forum: Scripting Help 28/09/2019, 07:30 AM
Replies: 3
Views: 130
Posted By MP2
Re: Cuff animation

I believe it is a custom animation added by the SA-MP team however don’t quote me on this.
Forum: Scripting Help 27/09/2019, 06:53 PM
Replies: 3
Views: 141
Posted By MP2
Re: What is better to use?

Sometimes 100ms may not be long enough. You should wait for a couple of OnPlayerUpdate calls.

I would recommend using my camera include here https://forum.sa-mp.com/showthread.php?t=412767 as...
Showing results 1 to 25 of 500

 

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


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