• 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(playerid, Float:fX, Float:fY, Float:fZ) { printf("x = %f, y = %f, z = %f", fX, fY, fZ); if(ModoAdmin[playerid] == true && PlayerData[playerid][admin] > JOGADOR) { if(IsPlayerInAnyVehicle(playerid)) { SetVehiclePos(GetPlayerVehicleID(playerid), fX, fY, fZ); PutPlayerInVehicle(playerid, GetPlayerVehicleID(playerid), 0); SendClientMessage(playerid, COR_AZUL, "AdminInfo:{ffffff} Voce foi ate local marcado no mapa!"); } else { SetPlayerPosFindZ(playerid, fX, fY, fZ); SendClientMessage(playerid, COR_AZUL, "AdminInfo:{ffffff} Voce foi ate local marcado no mapa!"); } } return 1; }
PHP Code:
[Info] x = 0.000000, y = 0.000000, z = 22.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
RE: bug OnPlayerClickMap - by mist91631 - 2025-01-21, 02:30 PM