[Pedido] comando
#1

alguйm poderia me ajudar com um CMD que em certa coordenada o player nгo consegue sair do veiculo?

mesmo se apertar enter ele nгo consegue sair do carro.

agradeзo.
Reply
#2

IsPlayeRangePoint
Reply
#3

procurei no wikipedia mais nгo tem, entгo pergunto como faria?

IsPlayeRangePoint [coordenada]?

pode me mostrar um CMD por favor? agradeзo desde jб.
Reply
#4

Um comando?

Claro!

pawn Код:
if(!strcmp("/stadium",cmdtext))
{
    if(IsPlayerInRangeOfPoint(playerid, 7.0, 2695.6880, -1704.6300, 11.8438))
    {
        SendClientMessage(playerid,0xFFFFFFFF,"You are near the stadium entrance!");
    }
    return 1;
}
Nгo sei se funciona bem com isso:
https://sampwiki.blast.hk/wiki/Function:...erControllable

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
     // Freezes a player when they types /freezeme
     if(strcmp(cmdtext, "/freezeme", true) == 0)
     {
          TogglePlayerControllable(playerid,0);
          return 1;
     }
     // Unfreezes a player when they types /unfreezeme
     if(strcmp(cmdtext, "/unfreezeme", true) == 0)
     {
          TogglePlayerControllable(playerid,1);
          return 1;
     }
     return 0;
}
Reply
#5

vlw pessoal
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)