in transfender
#1

hey is there a way to identify if a player is in transfender
Reply
#2

There is not a native function, but you could go into the transfender interior using an interior viewer. Then, check coordinates and see if the player is in that interior and near those coordinates.
Reply
#3

Also this function. It calls when you actually get your vehicle repaired in Transfender.

https://sampwiki.blast.hk/wiki/OnVehicleRespray
Reply
#4

thx couch and ded
Reply
#5

Couldn't he use create an Area of the transfender and use isPlayerInArea and if they eneter have it to send you a message saying " 'Bob' Is in the Transfender"
Reply
#6

I just made this, what is supposed to happen when you pay and spray (ded said it would work in Pay & Spray)
But it did not.

pawn Код:
public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
    if(GetPlayerVehicleSeat(playerid) == 0)
    {
        SendClientMessage(playerid, COLOR_CMD, "     - Payed $500 for the respray");
        PlayerInfo[playerid][pCash] -= 500;
    }
    return 1;
}
Does anyone know how to make it work on a pay and spray?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)