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: niels44
Forum: Scripting Help 20/12/2013, 08:02 PM
Replies: 8
Views: 684
Posted By niels44
Re: Need help with my /shop and /heal

if( GetPlayerMoney( playerid ) < amount )
{
// player hasnt got enough cash
}
else
{
// player has enough cash
}

or with ternary operator:
Forum: Filterscripts 20/12/2013, 07:52 PM
Replies: 42
[FilterScript] Digital Health & Armour
Views: 22,580
Posted By niels44
Re: Digital Health & Armour

using asimple cleo mod works aswell...

nice work tho.
Forum: Scripting Help 20/12/2013, 08:55 AM
Replies: 5
Views: 982
Posted By niels44
Re: Help Errors please ASAP!

all that's wrong is

MAX_PLAYERS_NAME

you should remove the "S" on line 163 in MAX_PLAYERS_NAME

should become MAX_PLAYER_NAME
Forum: Scripting Help 17/12/2013, 09:55 AM
Replies: 0
Views: 384
Posted By niels44
Question Dialog isnt showing, debug shows where, but I dont get it..

hey there,

so, I made this dialog with a loop etc, but for some reason, it doesnt actually SHOW the dialog.

case DIALOG_BUYCAR:
{
if( response )
{
new dest[...
Forum: Scripting Help 15/12/2013, 04:09 PM
Replies: 3
Views: 348
Posted By niels44
Re: Help please

dont use that object id, lol

here's a good one:

19325
Forum: Scripting Help 15/12/2013, 02:33 PM
Replies: 10
Views: 913
Posted By niels44
Re: Server Crashes

well, I can't really find a problem, but, lets NOT use the IsPlayerConnectedEx function, instead simply copy paste it.

public CrashListener()
{

for(new i = 0; i < MAX_PLAYERS; i ++)
{...
Forum: Scripting Help 15/12/2013, 01:46 PM
Replies: 10
Views: 913
Posted By niels44
Re: Server Crashes

show me all of your CrashListener, you only posted half of it.
Forum: Scripting Help 15/12/2013, 01:40 PM
Replies: 10
Views: 913
Posted By niels44
Re: Server Crashes

show me your function IsPlayerConnectedEx.
Forum: Scripting Help 15/12/2013, 01:09 PM
Replies: 11
Views: 1,586
Posted By niels44
Re: X Y Z in front of player

new Float:x, Float:y, Float:z;
GetPlayerPos( playerid, x, y, z );
GetXYInFrontOfPlayer(playerid, x, y, 5.0);


the z still holds the Z value of the player, the height.
Forum: Scripting Help 15/12/2013, 12:47 PM
Replies: 1
Views: 481
Posted By niels44
Re: Problem with Dat file

do you have any plugin called GeoIP_Plugin.so in your plugins directory?
Forum: Scripting Help 15/12/2013, 12:43 PM
Replies: 10
Views: 913
Posted By niels44
Re: Server Crashes

"IfIsPlayerConnectedEx"

can you show us that line please, also show us the line above this line, and the line under this line.
Forum: Scripting Help 15/12/2013, 12:39 PM
Replies: 2
Views: 472
Posted By niels44
Re: NPC question

when there's nobody in the vehicle, pause it:
http://wiki.sa-mp.com/wiki/NPC:PauseRecordingPlayback

when someone enters the vehicle( as passenger ), resume it
...
Forum: Scripting Help 15/12/2013, 12:35 PM
Replies: 2
Views: 420
Posted By niels44
Re: Question

for( new i= 0; i < GetMaxPlayers( ); i++ )
{
if( PlayerInfo[ i ][ adminlevel ] == 5 )
{
// do something here
}
}

for the PlayerInfo[ i ][ adminlevel ], use your own variable ofc
Forum: Scripting Help 15/12/2013, 12:29 PM
Replies: 2
Views: 550
Posted By niels44
Re: Reconnect Cmd

ehm, I don't really understand you, perhaps you could show us your code, or explain more.
Forum: Scripting Help 15/12/2013, 12:18 PM
Replies: 0
Views: 729
Posted By niels44
Question Textdraw wont show up, I tried nearly everything..

Hello there,

so, after a long break from samp, I started a new project, and everything was working fine, but then at some point, the speedometer's textdraw wont showup..

I've been trying to fix...
Forum: Scripting Help 28/09/2013, 10:43 AM
Replies: 1
Views: 371
Posted By niels44
Re: progress bar

Try this one, it's a nice include:
http://forum.sa-mp.com/showthread.php?t=113443
Forum: Scripting Help 28/09/2013, 10:41 AM
Replies: 6
Views: 642
Posted By niels44
Re: Account system

could you explain abit more? I can't really understand you.
Forum: Scripting Help 21/08/2013, 11:13 AM
Replies: 6
Views: 615
Posted By niels44
Re: moneyhax + GarHouse

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

create it yourself, implement it.
Forum: Scripting Help 08/08/2013, 07:20 PM
Replies: 21
Views: 1,471
Posted By niels44
Re: Mess with dialog buttons

it always starts from 0.

if(listitem == 0)
{

}
if(listitem == 1)
{
//ShowPlayerDialog(playerid, DIALOG_SELL,...
Forum: Scripting Help 21/01/2013, 12:48 PM
Replies: 10
Views: 1,414
Posted By niels44
Forum: Scripting Help 20/01/2013, 03:44 PM
Replies: 6
Views: 655
Posted By niels44
Re: Help Lag On server

can you explain us some more? also are you downloading anything when the lag occures?
Forum: Filterscripts 20/01/2013, 03:41 PM
Replies: 9
Views: 12,936
Posted By niels44
Re: Load, Spawn & Save Vehicles

nice work, gonna check this out later on my own pc :D
Forum: Maps 20/01/2013, 11:56 AM
Replies: 52
Views: 12,100
Posted By niels44
Re: Decas City v1.1 (RL/RP MAP)

damn nice map, also i see its your first post :O, great map dude, sure gonna use this for my server, REP+
Forum: Scripting Help 19/01/2013, 08:24 PM
Replies: 10
Views: 1,414
Posted By niels44
Re: when pressing the key, he doesnt enters the vehicle, something different than the default

eehm wut do you mean with: Or are you actually this far away that the animation/callback isn't triggered?

??

also, shouldnt it do the same as this one? just say that i entered, but doesnt puts...
Forum: Scripting Help 19/01/2013, 08:08 PM
Replies: 10
Views: 1,414
Posted By niels44
Re: when pressing the key, he doesnt enters the vehicle, something different than the default

it works, it only doesnt puts me in any vehicle... it does says the "entered" in console... i used yours CodyCummings, but doesnt works properly, i got this now:

if(newkeys & KEY_SECONDARY_ATTACK)...
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 03:35 PM.


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