SA-MP 0.3d RC client/server (now released)

RC6 !!!ROCKS, woow thanks kalcor
Reply

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

Quote:

- Increased MAX_PLAYER_ATTACHED_OBJECTS to 10.

That's exactly what I needed. Thanks alot
Reply

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.
Reply

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 ;(
Reply

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?
Reply

LOVING the RC6 updates!
Reply

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
Reply

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.
Reply

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.
Reply

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.
Reply

An what with Night Vision and infrared goggles?
Reply

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.
Reply

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 ._.
Reply

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?
Reply

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.
Reply

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.
Reply

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?
Reply

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?)
Reply

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


Forum Jump:


Users browsing this thread: 1 Guest(s)