Jump to content

Cerere ajutor PAWN.


fasd
 Share

Recommended Posts

Salutare. As vrea sa stiu si eu cum pot face ca atunci cand vreau sa ies/intru intr-un business/casa sa apas direct ENTER sau F.Sper sa ma puteti ajuta.

Edited by Floriank
Link to comment
Share on other sites

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(newkeys == KEY_SECONDARY_ATTACK)
    {
if (IsPlayerInRangeOfPoint(playerid, 2, x ,y,z)) // locul unde sa apese F
        {
SetPlayerPos(playerid, x,y,z); //locul unde sa il teleporteze
        }
    }
}

Link to comment
Share on other sites

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)

{

if(newkeys == KEY_SECONDARY_ATTACK)

    {

if (IsPlayerInRangeOfPoint(playerid, 2, x ,y,z)) // locul unde sa apese F

        {

SetPlayerPos(playerid, x,y,z); //locul unde sa il teleporteze

        }

    }

}

Scripter de profesie. Daca faci prostia sa pui newkeys == KEY_SECONDARY_ATTACK n-o sa mai intri din run in cladire. Cel mai bine e sa folosesti newkeys && KEY_SECONDARY_ATTACK.

  • Upvote 1
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.