22.01.2015, 12:38
You can also use smth like that:
pawn Code:
else if (strcmp(cmd, "/getint", true) == 0)
{
//if(PINFO[playerid][pAdmin] == 0) return SendMe(playerid, CGRADD, YouCanNot);
new Float:X, Float:Y, Float:Z, Float:Angle;
GetPlayerPos(playerid, X, Y, Z);
GetPlayerFacingAngle(playerid, Angle);
SendMes(playerid, CBLUEE, "Int: %i | Virt World: %i | Pos: [%.2f, %.2f, %.2f] | FacingAngle: %0.2f",GetPlayerInterior(playerid),GetPlayerVirtualWorld(playerid),X,Y,Z,Angle);
return 1;
}