• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] bug OnPlayerClickMap
#1
a public OnPlayerClickMap nao esta retornando o valor das posicao
PHP Code:
public OnPlayerClickMap(playeridFloat:fXFloat:fYFloat:fZ)
{
    
printf("x = %f, y = %f, z = %f"fXfYfZ);
    if(
ModoAdmin[playerid] == true && PlayerData[playerid][admin] > JOGADOR)
    {
        if(
IsPlayerInAnyVehicle(playerid))
        {
            
SetVehiclePos(GetPlayerVehicleID(playerid), fXfYfZ);
            
PutPlayerInVehicle(playeridGetPlayerVehicleID(playerid), 0);
            
SendClientMessage(playeridCOR_AZUL"AdminInfo:{ffffff} Voce foi ate local marcado no mapa!");
        }
        else
        {
            
SetPlayerPosFindZ(playeridfXfYfZ);
            
SendClientMessage(playeridCOR_AZUL"AdminInfo:{ffffff} Voce foi ate local marcado no mapa!");
        }
    }
    return 
1;

PHP Code:
[Info0.0000000.00000022.000000 
  Reply


Messages In This Thread
bug OnPlayerClickMap - by mist91631 - 2025-01-18, 01:11 AM
RE: bug OnPlayerClickMap - by samuelmatheus0502 - 2025-01-19, 01:16 PM
RE: bug OnPlayerClickMap - by samuelmatheus0502 - 2025-01-19, 01:26 PM

Forum Jump: