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

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    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 0;
}
You should try using OnPlayerCommandText.

https://sampwiki.blast.hk/wiki/OnPlayerCommandText
https://sampwiki.blast.hk/wiki/OnPlayerUpdate
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: 1 Guest(s)