SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 39
Search took 0.00 seconds.
Search: Posts Made By: Lops
Forum: Scripting Help 23/04/2014, 03:48 PM
Replies: 5
Views: 407
Posted By Lops
Re: OnPlayerKeyStateChange help

But, i just want to return_enter and return_exit. How should i go on to do exit command under the key?

case KEY_CTRL_BACK:
{
return cmd_enter(playerid, "");
}
...
Forum: Scripting Help 22/04/2014, 05:56 PM
Replies: 5
Views: 407
Posted By Lops
Re: OnPlayerKeyStateChange help

I haven't tested it yet, but yea, i'm using strcmp still.
Forum: Scripting Help 22/04/2014, 05:05 PM
Replies: 5
Views: 407
Posted By Lops
OnPlayerKeyStateChange help

Hello.

Problem with OnPlayerKeyStateChange. I want to add two commands under one key: /enter and /exit.

case KEY_CTRL_BACK:
{
return OnPlayerCommandText(playerid, "/enter");
}...
Forum: Scripting Help 21/11/2013, 08:16 AM
Replies: 3
Views: 354
Posted By Lops
Jailtimer problem

Problem is, that when player is ajailed about 1 minute and if he then released from the ajail, its all okey. But after every 1 minute, server says "You have been released from ajail" and spawns...
Forum: Scripting Help 20/11/2013, 05:24 PM
Replies: 9
Views: 799
Posted By Lops
Re: OnPlayerKeyStateChange problem

Maybe someone know the solution?
Forum: Scripting Help 18/11/2013, 12:19 PM
Replies: 9
Views: 799
Posted By Lops
Re: OnPlayerKeyStateChange problem

if(newkeys == KEY_NO) --line 11486
{
if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) --line 11488
{
return cmd_sisene(playerid, params); -- line11490
return true; --...
Forum: Scripting Help 18/11/2013, 09:13 AM
Replies: 9
Views: 799
Posted By Lops
Re: OnPlayerKeyStateChange problem

: error 010: invalid function or declaration
: error 010: invalid function or declaration
: error 021: symbol already defined: "cmd_enter"
: error 010: invalid function or declaration

Those...
Forum: Scripting Help 18/11/2013, 07:12 AM
Replies: 2
Views: 285
Posted By Lops
Re: Help needed

Alright.
Hard to find the bug where it appears, but starting to find this.
Forum: Scripting Help 18/11/2013, 07:07 AM
Replies: 9
Views: 799
Posted By Lops
OnPlayerKeyStateChange problem

command(enter, playerid, params[])
{

if(IsPlayerInRangeOfPoint(playerid, 5.0, 2269.3821,-75.3405,26.7724))
{
SetPlayerPos(playerid, 916.6719,2380.9543,246.4695);
...
Forum: Scripting Help 18/11/2013, 06:27 AM
Replies: 2
Views: 285
Posted By Lops
Help needed

Is here anything wrong?
I don't know, is this cause a bug, but maybe.
Bug is: When i buy vehicle from store or from other player, then GM sets vehicle a owner who bought the car.
Now, GM sets all...
Forum: Scripting Help 28/10/2013, 05:53 PM
Replies: 1
Views: 289
Posted By Lops
Admin marker problem

I have the problem again. My admin marker won't appear on the map. DOn't know why, i have tried several ways to fix it, but it still not working.

command(aod, playerid, params[])
{...
Forum: Scripting Help 28/10/2013, 10:25 AM
Replies: 4
Views: 491
Posted By Lops
Re: Problem with health bug

Maybe my OnPlayerTakeDamage and GiveDamage helps. Can't find the timers, what sets the health to 100.

public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid)
{
new...
Forum: Scripting Help 28/10/2013, 05:47 AM
Replies: 4
Views: 491
Posted By Lops
Re: Problem with health bug

Someone know the solution?
Forum: Scripting Help 27/10/2013, 02:35 PM
Replies: 2
Views: 394
Posted By Lops
Re: ATM problem

It works great and thanks for your help.
Forum: Scripting Help 26/10/2013, 02:33 PM
Replies: 4
Views: 491
Posted By Lops
Problem with health bug

I have problem with health losing.
So, if someone shoot me or i jump down from the building roof, it takes away amount of health, but then health recovers immidiently. There's no way to die....
Forum: Scripting Help 25/10/2013, 06:49 AM
Replies: 1
Views: 689
Posted By Lops
Problem with /fill command

So. I have the problem with command /fill. It supposed to refuel my vehicle with certain amount of fuel.

If i write example /fill 12, it isn't refuel my vehicle properly and the fuel meter don't...
Forum: Scripting Help 23/10/2013, 11:41 AM
Replies: 2
Views: 394
Posted By Lops
ATM problem

I have the problem with ATM.

If i use the ATM, want to Deposit/Withdraw money, then it allways gives me 49$ or put on the bank 49$.
Example, i want to deposit on the bank 240$, then it puts only...
Forum: Tutorials 22/10/2013, 02:26 PM
Replies: 165
Views: 69,093
Posted By Lops
Re: [TUTORIAL] Serverside Money. (Impossible to hack)

I use the same serverside money system.
I have a problem. In ingame, it resets players money every second and all the time. What should be the problem?
Forum: Filterscripts 21/09/2013, 12:23 PM
Replies: 63
Views: 20,305
Posted By Lops
Re: Dynamic House System V0.1 [Basic] [INI]

Link doesn't work for me. Somebody reupload the file?
Forum: Scripting Help 21/09/2013, 10:12 AM
Replies: 4,575
Views: 544,351
Posted By Lops
Re: Little coding questions - For general minor queries 5

I need /createhouse and /deletehouse command, to make house and delete this if i'm admin in server.
Please i need this for server.
Forum: Gamemode Scripts 14/09/2013, 07:58 AM
Replies: 44
Views: 17,954
Posted By Lops
Re: Mega Role Play Community [0.3x]

If i log in to server, then the "sex" dialog shows up and when i choose "male" example, then nothing happens, i can't move and the Roleplay test doesn't show up too.

So, nothing happened, what's...
Forum: Scripting Help 28/08/2013, 05:25 PM
Replies: 2
Views: 491
Posted By Lops
Command /mask bug

Mask system, should put the letter behind "STRANGER_[Some Letter]", but when someone use the /mask too same time as someone else, then it gives you someone else name, like Mart_Arvik or sth.
If you...
Forum: Scripting Help 06/07/2013, 04:39 PM
Replies: 5
Views: 544
Posted By Lops
Re: Help with first person view!

new firstperson[MAX_PLAYERS];
Forum: Scripting Help 06/07/2013, 08:03 AM
Replies: 5
Views: 544
Posted By Lops
Re: Help with first person view!

Can someone help maybe?
Forum: Scripting Help 01/07/2013, 02:51 PM
Replies: 5
Views: 544
Posted By Lops
Re: Help with first person view!

I need help fast.
Maybe someone knows problem?
Showing results 1 to 25 of 39

 

All times are GMT. The time now is 01:20 AM.


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