22.02.2011, 17:15
I hope you get the idea, because you'll need to edit.
pawn Код:
if(speedboost[playerid2] == 1)
{
format(string, sizeof(string),"Interior: %d - Virtual World: %d - Position X: %0.1f - Y: %0.1f - Z: %0.1f - SpeedBoost: Enabled", GetPlayerInterior(playerid2), GetPlayerVirtualWorld(playerid2), Float:X,Float:Y,Float:Z);
SendClientMessage(playerid,yellow,string);
return 1;
}
else
{
format(string, sizeof(string),"Interior: %d - Virtual World: %d - Position X: %0.1f - Y: %0.1f - Z: %0.1f - SpeedBoost: Disabled", GetPlayerInterior(playerid2), GetPlayerVirtualWorld(playerid2), Float:X,Float:Y,Float:Z);
SendClientMessage(playerid,yellow,string);
return 1;
}