SA-MP Forums Archive
SA-MP 0.3d RC client/server (now released) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: SA-MP 0.3d RC client/server (now released) (/showthread.php?tid=282775)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41


Re : SA-MP 0.3d RC6 client/server - Naruto_Emilio - 19.10.2011

RC6 !!!ROCKS, woow thanks kalcor


Re: SA-MP 0.3d RC6 client/server - BuLLeT[LTU] - 19.10.2011

I gues that way will fix bugs with pause, because now it isn't working


Re: SA-MP 0.3d RC6 client/server - Kwarde - 19.10.2011

Quote:

- Increased MAX_PLAYER_ATTACHED_OBJECTS to 10.

That's exactly what I needed. Thanks alot


Re: SA-MP 0.3d RC6 client/server - CyNiC - 19.10.2011

Quote:
Originally Posted by [03]Garsino
Посмотреть сообщение
I'm sure that's a bug.

We should have a callback/function for detecting whether or not a player has gone to GTA "pause" menu or not.
I used /setloc 0 0 80 and pressed ESC, when I returned, was dead, but when pressed ALT+TAB, when I returned, was falling.

My English is bad, I know.


AW: SA-MP 0.3d RC6 client/server - Pablo Borsellino - 19.10.2011

Ex. how to use the new Keys:
pawn Код:
public OnPlayerUpdate(playerid)
{
    new ud,lr,keys;
    GetPlayerKeys(playerid,keys,ud,lr);
    if(keys==KEY_YES)SendClientMessage(playerid,-1,"YES");
    else if(keys==KEY_NO)SendClientMessage(playerid,-1,"NO");
    else if(keys==KEY_CTRL_BACK)SendClientMessage(playerid,-1,"CTRL BACK");
    return true;
}
In Germany is the Y a Z ;(



Re: AW: SA-MP 0.3d RC6 client/server - [03]Garsino - 19.10.2011

Quote:
Originally Posted by Pablo Borsellino
Посмотреть сообщение
Ex. how to use the new Keys:
pawn Код:
public OnPlayerUpdate(playerid)
{
    new ud,lr,keys;
    GetPlayerKeys(playerid,keys,ud,lr);
    if(keys==KEY_YES)SendClientMessage(playerid,-1,"YES");
    else if(keys==KEY_NO)SendClientMessage(playerid,-1,"NO");
    else if(keys==KEY_CTRL_BACK)SendClientMessage(playerid,-1,"CTRL BACK");
    return true;
}
You know it gets called for OnPlayerKeyStateChange too right?


Re: SA-MP 0.3d RC6 client/server - Scenario - 19.10.2011

LOVING the RC6 updates!


Re: AW: SA-MP 0.3d RC6 client/server - Edga - 19.10.2011

Quote:
Originally Posted by Pablo Borsellino
Посмотреть сообщение
Ex. how to use the new Keys:
pawn Код:
public OnPlayerUpdate(playerid)
{
    new ud,lr,keys;
    GetPlayerKeys(playerid,keys,ud,lr);
    if(keys==KEY_YES)SendClientMessage(playerid,-1,"YES");
    else if(keys==KEY_NO)SendClientMessage(playerid,-1,"NO");
    else if(keys==KEY_CTRL_BACK)SendClientMessage(playerid,-1,"CTRL BACK");
    return true;
}
Should be something like this:

pawn Код:
public OnPlayerUpdate(playerid)
{
    new ud,lr,keys,yes,no,back;
    GetPlayerKeys(playerid,keys,ud,lr,yes,no,back);
    if(keys==yes)SendClientMessage(playerid,-1,"YES");
    else if(keys==no)SendClientMessage(playerid,-1,"NO");
    else if(keys==back)SendClientMessage(playerid,-1,"CTRL BACK");
    return true;
}
Edit: Sorry this is wrong only understood how it works when i saw https://sampwiki.blast.hk/wiki/GetPlayerKeys


Re: AW: SA-MP 0.3d RC6 client/server - [03]Garsino - 19.10.2011

Quote:
Originally Posted by Edga
Посмотреть сообщение
Should be something like this:

pawn Код:
public OnPlayerUpdate(playerid)
{
    new ud,lr,keys,yes,no,back;
    GetPlayerKeys(playerid,keys,ud,lr,yes,no,back);
    if(keys==yes)SendClientMessage(playerid,-1,"YES");
    else if(keys==no)SendClientMessage(playerid,-1,"NO");
    else if(keys==back)SendClientMessage(playerid,-1,"CTRL BACK");
    return true;
}
Lol, no... You're way off.


Re: SA-MP 0.3d RC6 client/server - Kalcor - 19.10.2011

Quote:
Originally Posted by Edvin
Посмотреть сообщение
pawn Код:
- Added KEY_YES (Y), KEY_NO (N), KEY_CTRL_BACK (H) game keys for GetPlayerKeys().
Why we can't use all keys??
SA-MP doesn't sync individual keys. The name of these functions are a bit misleading. They are not keys but actually the GTA:SA controls. I said they were the Y,N,H keys but that's only the default on an English keyboard. They are actually what ever you have set in the SA menu -> Controller Setup -> Foot controls for: Conversation Yes, Conversation No, Group control backward. That could be a keyboard key, a joystick button, a mouse button etc.

A lot of players don't actually use the keyboard and mouse to play, they use a game controller. They only switch to the keyboard for typing messages.


Re: SA-MP 0.3d RC6 client/server - FireCat - 19.10.2011

Quote:
Originally Posted by Kalcor
Посмотреть сообщение
SA-MP doesn't sync individual keys. The name of these functions are a bit misleading. They are not keys but actually the GTA:SA controls. I said they were the Y,N,H keys but that's only the default on an English keyboard. They are actually what ever you have set in the SA menu -> Controller Setup -> Foot controls for: Conversation Yes, Conversation No, Group control backward. That could be a keyboard key, a joystick button, a mouse button etc.

A lot of players don't actually use the keyboard and mouse to play, they use a game controller. They only switch to the keyboard for typing messages.
Lol I just saw a post of yours in "SA-MP's" name.
Anyways, fix the pause bug, even it's concidered a bug.


Re: SA-MP 0.3d RC6 client/server - Terminator3 - 19.10.2011

An what with Night Vision and infrared goggles?


Re: SA-MP 0.3d RC6 client/server - Kalcor - 19.10.2011

Quote:
Originally Posted by FireCat
Посмотреть сообщение
Lol I just saw a post of yours in "SA-MP's" name.
Anyways, fix the pause bug, even it's concidered a bug.
You'll see it has already been reported. You don't need to tell us what to do about it.


Re: SA-MP 0.3d RC6 client/server - FireCat - 19.10.2011

Quote:
Originally Posted by Kalcor
Посмотреть сообщение
You'll see it has already been reported. You don't need to tell us what to do about it.
What? I'm not telling you guys what to do.
It's just I already had a few plans to do, but I wasn't sure it was a bug.
Don't be harsh on me ._.


Re: SA-MP 0.3d RC6 client/server - [03]Garsino - 19.10.2011

Quote:
Originally Posted by FireCat
Посмотреть сообщение
What? I'm not telling you guys what to do.
It's just I already had a few plans to do, but I wasn't sure it was a bug.
Don't be harsh on me ._.
"Fix the bug" you said. That's sort of demanding. And he wasn't being harsh, lol. How was his reply harsh?


Re: SA-MP 0.3d RC6 client/server - FireCat - 19.10.2011

Quote:
Originally Posted by [03]Garsino
Посмотреть сообщение
"Fix the bug" you said. That's sort of demanding. And he wasn't being harsh, lol. How was his reply harsh?
Well I didn't mean it that way.
I didn't mean like "FIX IT NAO OR ME HAX U".
It was like if you could fix it, as soon as possible.
Geez, sorry.


Re: SA-MP 0.3d RC6 client/server - [03]Garsino - 19.10.2011

Quote:
Originally Posted by FireCat
Посмотреть сообщение
Well I didn't mean it that way.
I didn't mean like "FIX IT NAO OR ME HAX U".
It was like if you could fix it, as soon as possible.
Geez, sorry.
Yeah, I'm pretty sure he was already working on that when he saw the first replies.


Re: SA-MP 0.3d RC6 client/server - MaTrIx4057 - 19.10.2011

Quote:
Originally Posted by Kalcor
Посмотреть сообщение
A lot of players don't actually use the keyboard and mouse to play, they use a game controller. They only switch to the keyboard for typing messages.
I wonder if you have actually some statistics or a way to check that players use game controller more than mouse and keyboard?


AW: SA-MP 0.3d RC6 client/server - Lincoln.C - 19.10.2011

So for beeing informed.

The part:

Quote:

The game will not pause when you enter the menu.

means you can get injured, when you in the menu or on desktop, right? (everythings like wenn ur not at desktop?)


Re: SA-MP 0.3d RC6 client/server - FufLa - 19.10.2011

Quote:
Originally Posted by Kalcor
Посмотреть сообщение
Don't worry, I've done this about 10 times now.
Throw some more things/features in then