[Ajuda] 1 FS
#5

Caso queira uma coisa mais simples..

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    new Float:x, Float:y, Float:z, Float:angulo;
    if(strcmp(cmdtext, "/marcar", true)==0)
    {
        GetPlayerPos(playerid, x, y, z);
        GetPlayerFacingAngle(playerid, angulo);
        SendClientMessage(playerid, 0xFFFFFFAA, "Vocк marcou a posiзгo.");
        return 1;
    }
    if(strcmp(cmdtext, "/irmarca", true)==0)
    {
        SetPlayerPos(playerid, x, y, z);
        SetPlayerFacingAngle(playerid, angulo);
        SendClientMessage(playerid, 0xFFFFFFAA, "Vocк se teleportou para a posiзгo marcada.");
        return 1;
    }
    return 0;
}
Porйm esse nгo teleporta o veнculo (caso a pessoa esteja com um).
Reply


Messages In This Thread
[Ajuda] 1 FS - by ceesar90 - 04.04.2011, 03:04
Re: [Ajuda] 1 FS - by []Fabricio[] - 04.04.2011, 03:09
Re: [Ajuda] 1 FS - by ceesar90 - 04.04.2011, 03:17
Re: [Ajuda] 1 FS - by zbt_Daimyo - 04.04.2011, 03:24
Re: [Ajuda] 1 FS - by []Fabricio[] - 04.04.2011, 03:49
Re: [Ajuda] 1 FS - by LuxurioN™ - 04.04.2011, 05:09
Re: [Ajuda] 1 FS - by ceesar90 - 04.04.2011, 15:29
Re: [Ajuda] 1 FS - by LuxurioN™ - 04.04.2011, 15:35
Re: [Ajuda] 1 FS - by ceesar90 - 04.04.2011, 15:42

Forum Jump:


Users browsing this thread: 1 Guest(s)