[Pedido] Comando pra adm
#15

Quote:
Originally Posted by iD4N0N3_.x[X]x
View Post
Entгo velho deu 2 erros agora:
pawn Code:
C:\Users\NATAN\Desktop\Samp\[BMG] BRASIL MISTER GAMES 2012\gamemodes\GM.pwn(949) : error 017: undefined symbol "CriarVeiculoPlayer"
C:\Users\NATAN\Desktop\Samp\[BMG] BRASIL MISTER GAMES 2012\gamemodes\GM.pwn(954) : error 017: undefined symbol "PlayerNome"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase

2 Errors.

//linha 949     if(CriarVeiculoPlayer(playerid,id, car, cor[0], cor[1]))
//linha 954     format(msg, 256, "[Info-RedBull]: O Administrador %s Criou Um Veiculo Exclusivo Para Vocк!", PlayerNome(playerid));
Se conseguir me ajudar te agradeзo msm ^^ , e +rep
pawn Code:
#include <a_samp>
#include <zcmd>
#include <sscanf2>

CMD:setcar(playerid, params[])
{
    if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, vermelho, "Vocк nгo tem permissгo!");

    new modelo, cor1, cor2;

    if(sscanf(cmdtext, "s[8]dD(-1)D(-1)", cmd, modelo, cor1, cor2))
    {

        SendClientMessage(playerid, verde, "Use: /setcar [modelo] [cor1] [cor2]");
        return 1;
    }
    if(modelo >= 400 && modelo <= 611)
    {
        if(IsPlayerInAnyVehicle(playerid))
        {
            new playerip[64],
            Float:X, Float:Y, Float:Z,
            Float:ang;

            GetPlayerPos(playerid, X, Y, Z);
            GetVehicleZAngle(GetPlayerVehicleID(playerid), ang);
            GetPlayerIp(playerid, playerip, sizeof(playerip));

            SetTimerEx("CriarVeiculo", 5000, false, "dffffdd", modelo, X, Y, Z, ang, cor1, cor2);

            SendClientMessage(playerid, verde, "Veнculo setado com sucesso!");
        }
        else
        {

            SendClientMessage(playerid, verde, "vocк estб em um veiculo saia dele para criar outro !");
        }
    }
    else
    {

        SendClientMessage(playerid, verde, "ID fora do normal! | ID's = 400-611");
    }
    return 1;
}

forward CriarVeiculo(m, Float:x, Float:y, Float:z, Float:r, c, d);

public CriarVeiculo(m, Float:x, Float:y, Float:z, Float:r, c, d)
{
    AddStaticVehicleEx(m, x, y, z, r, c, d, 30);
    return 1;
}
Reply


Messages In This Thread
Comando pra adm - by iD4N0N3_.x[X]x - 23.03.2014, 20:36
Re: Comando pra adm - by VeNuZ_ - 23.03.2014, 20:46
Re: Comando pra adm - by iD4N0N3_.x[X]x - 23.03.2014, 20:58
Re: Comando pra adm - by Douglas_prt - 23.03.2014, 21:01
Re: Comando pra adm - by VeNuZ_ - 23.03.2014, 21:28
Re: Comando pra adm - by iD4N0N3_.x[X]x - 23.03.2014, 21:46
Re: Comando pra adm - by VeNuZ_ - 23.03.2014, 21:54
Re: Comando pra adm - by iD4N0N3_.x[X]x - 23.03.2014, 22:04
Re: Comando pra adm - by VeNuZ_ - 23.03.2014, 22:05
Re: Comando pra adm - by focaximubh - 23.03.2014, 22:07
Re: Comando pra adm - by iD4N0N3_.x[X]x - 23.03.2014, 22:14
Re: Comando pra adm - by iD4N0N3_.x[X]x - 23.03.2014, 22:17
Re : Comando pra adm - by Dieguinho - 24.03.2014, 00:07
Re: Comando pra adm - by iD4N0N3_.x[X]x - 24.03.2014, 00:55
Re : Re: Comando pra adm - by Dieguinho - 24.03.2014, 01:37

Forum Jump:


Users browsing this thread: 6 Guest(s)