Thanks! but it prints out something thats not true. When iam in origin
i know the origin cuz i placed a model. It prints out
Quote:
|
1153728298, -992259791, -10093537
|
This is the code now:
PHP Code:
public get_origin(id)
{
new Float:origin[3];
pev(id, pev_origin, origin);
client_print(id, print_console, "%i, %i, %i", origin[0], origin[1], origin[2])
return PLUGIN_HANDLED
}
Or maybe its some kinda math thing i dont understand since #1 is a +origin, and the next two is minus like where i placed the model.. Can this print be fixed to a none binary numbers or what it is now?