OnPlayerEnterVehicle
#4

You cant use it like that you first need to format it then send it and %f is for fload and %d is for integer

pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    new Float:x, Float:y, Float:z,string[128];
    GetPlayerPos(playerid, x, y, z);
    format(string,sizeof(string),"{FF00FF}[VEHICLE]:{FFFFFF} %d is moving to the following pos: %f, %f, %f",playerid, x, y, z);
    SendClientMessageToAll(-1,string);
    return 1;
}
Reply


Messages In This Thread
OnPlayerEnterVehicle - by CrazyChoco - 30.08.2012, 14:09
Re: OnPlayerEnterVehicle - by Emmet_ - 30.08.2012, 14:12
Re: OnPlayerEnterVehicle - by HuSs3n - 30.08.2012, 14:13
Re: OnPlayerEnterVehicle - by doreto - 30.08.2012, 14:13
Re: OnPlayerEnterVehicle - by Cena44 - 30.08.2012, 14:28
Re: OnPlayerEnterVehicle - by CrazyChoco - 30.08.2012, 16:10
Re: OnPlayerEnterVehicle - by CrazyChoco - 30.08.2012, 18:07
Re: OnPlayerEnterVehicle - by XtremeR - 30.08.2012, 18:55
Re: OnPlayerEnterVehicle - by HuSs3n - 30.08.2012, 19:03
Re: OnPlayerEnterVehicle - by XtremeR - 30.08.2012, 19:06

Forum Jump:


Users browsing this thread: 2 Guest(s)