30.08.2012, 14:13
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;
}