SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 69
Search took 0.00 seconds.
Search: Posts Made By: jihadmeneer
Forum: Scripting Help 29/10/2015, 03:12 PM
Replies: 16
Views: 648
Posted By jihadmeneer
Re: House system info issue

Remove this: ShowInfoBox in the Load_Houses and add it after the players login! If you got a registration system after they spawned and else on OnPlayerSpawn
Forum: Scripting Help 29/10/2015, 02:54 PM
Replies: 16
Views: 648
Posted By jihadmeneer
Re: House system info issue

Show me:

ShowInfoBox
Forum: Scripting Help 29/10/2015, 02:40 PM
Replies: 16
Views: 648
Posted By jihadmeneer
Re: House system info issue

mysql_tquery(g_iHandle, "SELECT * FROM `houses`", "House_Load", "d", playerid);

then

add playerid to forward House_Load();
public House_Load().

Then change: House_Refresh(i);
Into...
Forum: Scripting Help 29/10/2015, 02:36 PM
Replies: 16
Views: 648
Posted By jihadmeneer
Re: House system info issue

Show us where House_Load is called.
Forum: Scripting Help 29/10/2015, 02:31 PM
Replies: 16
Views: 648
Posted By jihadmeneer
Re: House system info issue

Show us where House_Refresh(houseid) is called.
Forum: Scripting Help 07/10/2015, 08:34 AM
Replies: 3
Views: 503
Posted By jihadmeneer
Re: Strange issue: SetPlayerScore(playerid);

Try this.

public OnPlayerDeath(playerid, killerid, reason)
{
new newscore = GetPlayerScore(playerid) --;
SendDeathMessage(killerid, playerid, reason);
SetPlayerScore(playerid,...
Forum: Scripting Help 06/10/2015, 08:31 AM
Replies: 9
Views: 747
Posted By jihadmeneer
Re: HELP[REP+]

The url has to end with .mp3.
Forum: Scripting Help 06/10/2015, 07:46 AM
Replies: 9
Views: 747
Posted By jihadmeneer
Re: HELP[REP+]

You miss a { after this, if(Account[i][Streaming] == 1)
Forum: Scripting Help 01/10/2015, 08:48 AM
Replies: 10
Views: 1,062
Posted By jihadmeneer
Re: OnPlayerKeyStateChange ID0 problem

Try this:

http://forum.sa-mp.com/showthread.php?t=570868

Instead of the normal loop.

And for a more effecient way, you should run the loop the find out the nearest ID(the one you want to...
Forum: Scripting Help 01/10/2015, 08:36 AM
Replies: 1
Views: 240
Posted By jihadmeneer
Re: Question.

You've got 3 axis in SA-MP, x, y, and z the z axis is the one which measures heights, if you run a timer for like 1 second and the z axis is dropping rapidly, you know they are falling, you can even...
Forum: Scripting Help 30/09/2015, 08:55 PM
Replies: 11
Views: 789
Posted By jihadmeneer
Re: Members command problem

Change:

if (PlayerInfo[i][pLeader] == teamnumber)
{
format(stringer, sizeof(stringer), "[%d] %s ранг: Лидер {FFFFFF}", i, NamePlayer[i]);
}
else if (PlayerInfo[i][pMember] ==...
Forum: Scripting Help 30/09/2015, 08:53 PM
Replies: 15
Views: 1,241
Posted By jihadmeneer
Re: field_not_found but they exists!

Show a screenshot or the code of your database structure.
Forum: Scripting Help 28/09/2015, 09:13 PM
Replies: 27
Views: 1,095
Posted By jihadmeneer
Re: Register bug

Then we need to know if your password are hashed or something like that, we can't just make that for you.
Forum: Scripting Help 28/09/2015, 09:10 PM
Replies: 27
Views: 1,095
Posted By jihadmeneer
Re: Register bug

Okay, you don't know how to properly use the MySQL.

mysql_function_query(MainPipeline, szQuery, true, "CheckIfPlayerExist", "i", playerid);

forward CheckIfPlayerExist(playerid);
public...
Forum: Scripting Help 28/09/2015, 09:05 PM
Replies: 7
Views: 762
Posted By jihadmeneer
Re: Split Text

new string[128]; // Creates the string
format(string, sizeof(string), "~p~%s", Text); // Add text to the string

for(new count, len = strlen(Text); count < len; count+=24) // Makes a loop for each...
Forum: Scripting Help 28/09/2015, 08:59 PM
Replies: 7
Views: 762
Posted By jihadmeneer
Re: Split Text

Above should work haha ^ (Removed my code)


If this doens't help send the entire command/code!
Forum: Scripting Help 28/09/2015, 08:55 PM
Replies: 5
Views: 441
Posted By jihadmeneer
Re: name hide

How would this possible work? He didn't define forplayerid, don't use this..
Forum: Scripting Help 28/09/2015, 08:51 PM
Replies: 5
Views: 441
Posted By jihadmeneer
Re: name hide

Try this:

CMD:hidename(playerid, params[])
{
if(PlayerInfo[playerid][VipLevel] == 1) return SendClientMessage(playerid, COLOR_RED, "Error: You must be an V.I.P player level 2!");
...
Forum: Scripting Help 28/09/2015, 08:48 PM
Replies: 7
Views: 762
Posted By jihadmeneer
Re: Split Text

This is what I use!

CMD:me(playerid, params[])
{
new msg[125], string[124];
if(!sscanf(params, "s[128]", msg))
{
if(!CharacterData[playerid][pLoggedIn])
{
return...
Forum: Scripting Help 28/09/2015, 09:08 AM
Replies: 1
Views: 707
Posted By jihadmeneer
Re: Crashes, AMX backtrace.

It's passing a value of 682 while 681 is the maximum, look for 681 in your script as it's not predefined(MAX_VEHICLEs is around 1000), and increase it!
Forum: Scripting Help 14/06/2015, 05:26 PM
Replies: 2
Views: 272
Posted By jihadmeneer
Re: How to add wheels, nitro ect to your vehicle, then put it on your sserver?

Do you mean this? http://wiki.sa-mp.com/wiki/AddVehicleComponent
Forum: Scripting Help 04/06/2015, 08:19 AM
Replies: 12
Views: 788
Posted By jihadmeneer
Re: Error help "Assumed to zero"

It's missing brackets if it shows that error.
Forum: Scripting Help 04/06/2015, 07:38 AM
Replies: 12
Views: 788
Posted By jihadmeneer
Re: Error help "Assumed to zero"

Try to remove the last else statement and post what happend.
Forum: Scripting Help 04/06/2015, 07:36 AM
Replies: 12
Views: 788
Posted By jihadmeneer
Re: Error help "Assumed to zero"

Where is this for?

PlayerInfo[playerid][pMats] -= price;
SendClientMessageEx(playerid, COLOR_YELLOW, "* Ban da that bai trong viec che tao sung :p.");

That should be handled on the...
Forum: Scripting Help 04/06/2015, 07:29 AM
Replies: 12
Views: 788
Posted By jihadmeneer
Re: Error help "Assumed to zero"

Is it the first or the second else statement?
Showing results 1 to 25 of 69

 

All times are GMT. The time now is 02:11 PM.


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