[Help] OnPlayerUpdate with command????
#1

I made a command but I want it to be like this:
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;
}
Any Ideas??
Reply


Messages In This Thread
[Help] OnPlayerUpdate with command???? - by vakhtang - 02.01.2011, 09:52
Re: [Help] OnPlayerUpdate with command???? - by Jay. - 02.01.2011, 09:56
Re: [Help] OnPlayerUpdate with command???? - by Calgon - 02.01.2011, 09:56
Re: [Help] OnPlayerUpdate with command???? - by [NoV]LaZ - 02.01.2011, 09:56
Re: [Help] OnPlayerUpdate with command???? - by vakhtang - 02.01.2011, 09:58
Re: [Help] OnPlayerUpdate with command???? - by Jay. - 02.01.2011, 09:58
Re: [Help] OnPlayerUpdate with command???? - by vakhtang - 02.01.2011, 09:59
Re: [Help] OnPlayerUpdate with command???? - by Amit_B - 02.01.2011, 10:05

Forum Jump:


Users browsing this thread: 2 Guest(s)