02.01.2011, 09:52
I made a command but I want it to be like this:
Any Ideas??
pawn Код:
public OnPlayerUpdate(playerid)
{
new Float:cam1x;
new Float:cam1y;
new Float:cam1z;
if (strcmp("/cam1", cmdtext, true, 10) == 0)
{
GetPlayerPos(playerid, cam1x, cam1y, cam1z);
SetPlayerCameraPos(playerid, -2027.0925292969, -191.03739929199, 47.638492584229);
SetPlayerCameraLookAt(playerid, cam1x, cam1y, cam1z);
return 1;
}
return 1;
}