SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 46
Search took 0.00 seconds.
Search: Posts Made By: PepeTheFrog
Forum: Client Support 25/05/2020, 09:07 AM
Replies: 1
Views: 457
Posted By PepeTheFrog
Re: SA-MP 0.3.7-R4 Exception At Address: 0x00542715

solved: objects 11694 collision with another 11694 causes this. remove or make sure their texture won't intersect with each other
Forum: Client Support 24/05/2020, 08:36 AM
Replies: 1
Views: 457
Posted By PepeTheFrog
Question SA-MP 0.3.7-R4 Exception At Address: 0x00542715

Hi I am trying my map on my localhost server and the game crashes automatically on a specific area(always) and this error or exception shows:

SA-MP 0.3.7-R4
Exception At Address: 0x00542715...
Forum: Scripting Help 19/05/2020, 05:41 AM
Replies: 6
Views: 157
Posted By PepeTheFrog
Re: [HELP] Impossible connect with MySQL

is your xampp or wamp is up and running? check the port and specify it in mysql_connect()..

native mysql_connect(const host[], const user[], const database[], const password[], port = 3306,...
Forum: Scripting Help 19/05/2020, 02:59 AM
Replies: 2
Views: 134
Posted By PepeTheFrog
Question Retrieve and Store all data from database into an array

I am trying to retrieve all player's data and storing it into array in filterscript but the problem is it is only getting the first row from database. Here's my snippet code:



new...
Forum: Scripting Help 18/05/2020, 01:16 PM
Replies: 1
Views: 45
Posted By PepeTheFrog
Re: MYSQL: Could not establish connection to database (XAMPP localhost)

I solved it already through this MySQL connection problem. (https://forum.sa-mp.com/showthread.php?t=622597) Konstantinos solution.

For more reference: mysql_connect...
Forum: Scripting Help 18/05/2020, 12:45 PM
Replies: 1
Views: 45
Posted By PepeTheFrog
Question MYSQL: Could not establish connection to database (XAMPP localhost)

I am trying to establish a connection to my database but it always returns me an error:

Here's my snippet filterscript code:

#define FILTERSCRIPT

#include <a_samp>
#include <a_mysql>
...
Forum: Includes 15/05/2020, 04:19 AM
Replies: 41
Views: 16,928
Posted By PepeTheFrog
Re: Player country lookup

code removed in pastebin
Forum: Scripting Help 13/05/2020, 08:35 AM
Replies: 5
Views: 164
Posted By PepeTheFrog
Cool Re: GangZone not working

SOLVED!



It is now working! thank you dude! :D He're my snippet script code:


public OnPlayerConnect(playerid)
{
slex_part1_zone = CreatePlayerGangZone(playerid, 2903.1584,...
Forum: Scripting Help 13/05/2020, 01:13 AM
Replies: 5
Views: 164
Posted By PepeTheFrog
Re: GangZone not working

Is someone knows how to create gang zones using YSF plugin? https://github.com/IllidanS4/YSF
Forum: Scripting Help 13/05/2020, 12:53 AM
Replies: 5
Views: 164
Posted By PepeTheFrog
Re: GangZone not working

I found the cause of the problem, it is because I am using YSF plugin. Now i need to figure out how to fix it with YSF plugin included :)
Forum: Maps 13/05/2020, 12:01 AM
Replies: 8
Views: 1,475
Posted By PepeTheFrog
Thumbs up Re: South Luzon Expressway

Changed to: 86.88.190.219:8192
Forum: Scripting Help 12/05/2020, 11:56 PM
Replies: 5
Views: 164
Posted By PepeTheFrog
Question GangZone not working

I am trying to create a Gang Zone (Colored black / 0x000000AA) and show it for a player but it does not show at all in radar even in the map (Gang Zone colored black will act as a road in radar).
...
Forum: Scripting Help 11/05/2020, 01:55 AM
Replies: 3
Views: 103
Posted By PepeTheFrog
Cool Re: Check if Trailer attached to vehicle is in range

new vehicle_modelID;
new hasTrailer[MAX_PLAYERS];

public TollGate_Open(){

for(new i=GetMaxPlayers(); i > -1; i--)
{
for(new a; a<sizeof(GatePos); a++)
{
//If...
Forum: Scripting Help 10/05/2020, 02:19 PM
Replies: 3
Views: 103
Posted By PepeTheFrog
Re: Check if Trailer attached to vehicle is in range

Here's my code:

new vehicle_modelID;
new trailerID;
new hasTrailer;

public TollGate_Open(){

for(new i=GetMaxPlayers(); i > -1; i--)
{
Forum: Scripting Help 10/05/2020, 12:40 PM
Replies: 3
Views: 103
Posted By PepeTheFrog
Question Check if Trailer attached to vehicle is in range

Hi, How can I check if the trailer attached to the vehicle is in range of to something. The trailer itself not the truck or vehicle where the trailer was attached to.
Forum: Scripting Help 10/05/2020, 03:03 AM
Replies: 10
Views: 218
Posted By PepeTheFrog
Re: Player Money should decrement for every Toll Gate

Fixed it now by adding TollPaid[MAX_PLAYERS][MAX_TOLLGATE]! thanks guys..

Here's the youtube video and the source code link in description:

GTA SA MP Automatic Toll Gate with Charging of...
Forum: Scripting Help 07/05/2020, 02:23 PM
Replies: 10
Views: 218
Posted By PepeTheFrog
Thumbs up Re: Player Money should decrement for every Toll Gate

Here's my latest code.. I removed the feature where the player will be charged automatically if he's near the toll gate because I can't solve that issue..

The code below just opens a certain toll...
Forum: Scripting Help 05/05/2020, 03:03 PM
Replies: 10
Views: 218
Posted By PepeTheFrog
Re: Player Money should decrement for every Toll Gate

I applied your suggestion.. nothing changes
Forum: Scripting Help 05/05/2020, 01:59 PM
Replies: 10
Views: 218
Posted By PepeTheFrog
Re: Player Money should decrement for every Toll Gate

You could do this when the toll gate closes I assume:
PlayerPaid[] = false;

I see it's noted with // in your script. Is that intended?[/QUOTE]

Yes, but when I do that PlayerPaid[] = false; it...
Forum: Scripting Help 05/05/2020, 01:30 PM
Replies: 10
Views: 218
Posted By PepeTheFrog
Re: Player Money should decrement for every Toll Gate

When i try foreach the compiler gives this error: Undefined symbol foreach

so instead I use: for(new i = 0; i < MAX_PLAYERS; i++)

....


Returning to my problem how can I fix it?
Forum: Scripting Help 05/05/2020, 11:56 AM
Replies: 10
Views: 218
Posted By PepeTheFrog
Question Player Money should decrement for every Toll Gate

I've created a script for toll gates that automatically opens when a player is near or in range of the barrier object (968) . My problem is that my script only decrements money from a player once...
Forum: Scripting Help 04/05/2020, 10:12 AM
Replies: 7
Views: 284
Posted By PepeTheFrog
Re: How to exceed X and Y Limit (World Bounds) in SAMP?

https://stackoverflow.com/questions/58321240/gta-sa-mp-scripting-dynamic-objects-did-not-render-after-20-000-x-coordinates
Forum: General 01/05/2020, 04:27 AM
Replies: 18
Views: 3,938
Posted By PepeTheFrog
Re: (MAPPING) A new modern version of Map Construction?

fix range check error bug when invalid ID object was submitted and the error dialog with message of "Range check error" keeps popping like a loop (no matter how many times you closed it). it is...
Forum: Scripting Help 30/04/2020, 08:07 AM
Replies: 9
Views: 279
Posted By PepeTheFrog
Forum: Scripting Help 30/04/2020, 07:46 AM
Replies: 9
Views: 279
Posted By PepeTheFrog
Showing results 1 to 25 of 46

 

All times are GMT. The time now is 10:57 PM.


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