SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 420
Search took 0.01 seconds.
Search: Posts Made By: Runn3R
Forum: Scripting Help 30/05/2020, 10:39 PM
Replies: 6
Views: 322
Posted By Runn3R
Re: A few small problems, urgent!

Use == to check if the value is equal to 1 for the motel and the other one.

As for the admin list, I can't even figure out what are you trying to do.
Forum: Scripting Help 30/05/2020, 05:02 PM
Replies: 16
Views: 380
Posted By Runn3R
Re: Problem MovableObjects

Why are you writing a code for other people? Just let them do it by themselves, jesus.
Forum: Scripting Help 30/05/2020, 09:54 AM
Replies: 16
Views: 380
Posted By Runn3R
Re: Problem MovableObjects

Alternatively, you can use the OnPlayerEnterDynamicArea if you are using a streamer and do it like that.
Forum: Scripting Help 30/05/2020, 09:52 AM
Replies: 6
Views: 322
Posted By Runn3R
Re: A few small problems, urgent!

2.2

If statements are probably wrong.. You are looking to see if the pSobaMotelC is less than 0 probably looking more than zero..

3
Same thing you are killing the timer cause the BolestVrijeme...
Forum: Scripting Help 29/05/2020, 08:21 AM
Replies: 5
Views: 143
Posted By Runn3R
Re: backtrace

That's literally what i've said...

Why don't you let people write their own code.
Forum: Scripting Help 29/05/2020, 08:16 AM
Replies: 5
Views: 143
Posted By Runn3R
Re: backtrace

PlayerInfo is MAX_PLAYERS aka 1000 and somebody typed the wrong name hence the error cause the name doesn't exists the U parameter returned 65535..

Do a IsPlayerConnected if statement before...
Forum: Scripting Help 29/05/2020, 08:14 AM
Replies: 8
Views: 213
Posted By Runn3R
Re: Spawn button... skipping it with Spectating doesn't work

Did you SetSpawnInfo?

Normally only toggling PlayerSpectating does the trick of spawning the player back.
Forum: Scripting Help 29/05/2020, 08:11 AM
Replies: 5
Views: 208
Posted By Runn3R
Re: Y_INI Storing not storing float in OnGameModeInit

It's out of order cause your appending to a file aka adding to the file the bottom of the file is your first line.

Try making a new variable then assign the value to it rather than just typing it...
Forum: Scripting Help 29/05/2020, 07:59 AM
Replies: 5
Views: 159
Posted By Runn3R
Re: Problem in editing Cache Login/register system by BlueG

Did you retrieve the row id on the OnPlayerRegister callback like i told you to do? Why are you querying then using a function instead of threading it?

Where do you assign the value of...
Forum: Scripting Help 27/05/2020, 10:32 PM
Replies: 7
Views: 208
Posted By Runn3R
Re: trying to do IsPlayerOnVehicle

Alternatively, you can use the SAMap plugin to retrieve the Z position (if the player is on the ground) and do it like that?
Forum: Scripting Help 14/04/2020, 06:08 PM
Replies: 4,152
Views: 642,917
Posted By Runn3R
Re: Little coding questions - For general minor queries 5

well you are trying to place a command inside the OnPlaeyrEnterVehicle callback hence the error as the string doesn't exits.

Commands go under OnPlayerCommandText
Forum: Scripting Help 14/04/2020, 12:25 PM
Replies: 9
Views: 232
Posted By Runn3R
Re: IsValidVehicle problem

Why are you pulling the row id from the database?

Make an enumator and pull the id to the sqlid var or something and sort the array with the vehicleid cause the sqlid and the vehicle id will never...
Forum: Scripting Help 14/04/2020, 10:42 AM
Replies: 10
Views: 416
Posted By Runn3R
Re: INVALID_PLAYER_ID

You should check samp wiki as i can see that you are pretty new to this.


First off you didn't get the position of the other player and second of INVALID_PLAYER_ID is 65535 and there is no way...
Forum: Scripting Help 14/04/2020, 09:36 AM
Replies: 4,152
Views: 642,917
Posted By Runn3R
Re: Little coding questions - For general minor queries 5

Its an old post but i'd like to answer it.

You can join the same npc but i wouldn't reccomend that. Have you tried using plane objects from samp and instead of NPC-s move them? Or making a new...
Forum: Scripting Help 14/04/2020, 09:28 AM
Replies: 4
Views: 147
Posted By Runn3R
Re: Time until NPC reach a point

Create a checkpoint halfway, or wherever. Then you can calculate via the checkpoints that the NPC has entered.

I personally did this by checking on which bus station the bus is and by the way you...
Forum: Scripting Help 14/04/2020, 09:26 AM
Replies: 3
Views: 248
Posted By Runn3R
Re: AIM Camera GTA 5 on SAMP

https://wiki.sa-mp.com/wiki/AttachCameraToObject
Forum: Scripting Help 14/04/2020, 09:23 AM
Replies: 1
Views: 100
Posted By Runn3R
Re: New MoveObject by Deleting and Creating

https://forum.sa-mp.com/showthread.php?t=664708
Forum: Scripting Help 14/04/2020, 09:21 AM
Replies: 3
Views: 173
Posted By Runn3R
Re: Array Index Out of Bounds.

Check if the typed playerid is INVALID_PLAYER_ID.
Forum: Scripting Help 13/04/2020, 11:26 AM
Replies: 13
Views: 229
Posted By Runn3R
Re: TextDrawShowForPlayerEx doesn't work, "tag mismatch"

Did you set the Text: tag when you created it? ~~ new Text:Inventory2_TD...



TextDrawShowForPlayerEx(playerid, Text:drawid)
Forum: Scripting Help 13/04/2020, 10:32 AM
Replies: 2
Views: 89
Posted By Runn3R
Re: dynamic checkpoints wont show up

Well you are using dynamic checkpoints right? Then why are you using SetPlayerCheckpoint?

SetPlayerCheckpoint returns 0 if the function didn't succeeded or 1 if it succeeded and that's it.
Forum: Scripting Help 22/03/2020, 04:50 PM
Replies: 2
Views: 135
Posted By Runn3R
Re: Do PVars and pInfo can work together?

Pvars are only temporary, meaning its only made for stuff like passing values into another dialog, or variables that won't be set for long period of time.

You can do it tho but it's not...
Forum: Server Support 14/03/2020, 11:16 PM
Replies: 3
Views: 744
Posted By Runn3R
Re: Server crashes

Nvm I figured it out..

There is a ysi_cge inside YSI_Internals folder.. The size of hooks was 200 and it says in there that if you need more you need to add another 16 lines of some function that...
Forum: Server Support 04/03/2020, 11:25 AM
Replies: 3
Views: 744
Posted By Runn3R
Re: Server crashes

Everything is updated already.
Forum: Server Support 03/03/2020, 09:49 AM
Replies: 3
Views: 744
Posted By Runn3R
Server crashes

Hello samp community!

Long time since i've posted here but i have a problem with the server that we're running! The problem is that the server crashes by itself at random times, we think it's...
Forum: Scripting Help 03/02/2020, 09:10 PM
Replies: 7
Views: 263
Posted By Runn3R
Re: dialog message

Okay so i don't know what is samp CAC but okay.

You are giving a question to the players and they have to answer it by clicking yes or no right? Do you have 'CAC' and 'NON cac' in your...
Showing results 1 to 25 of 420

 

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


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