SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Português/Portuguese

Reply
 
Thread Tools Display Modes
Old 27/10/2013, 05:37 AM   #21
Catchorro
Big Clucker
 
Catchorro's Avatar
 
Join Date: Oct 2013
Location: Pawn Copiler
Posts: 199
Reputation: 33
Default Re: Criar Um Comando /cv

Quote:
C:\Documents and Settings\Lanterna Negra\Desktop\Projeto\pawno\include\bCini.inc(174) : error 017: undefined symbol "File7"
C:\Documents and Settings\Lanterna Negra\Desktop\Projeto\pawno\include\bCini.inc(176) : error 017: undefined symbol "NovaLinha"
C:\Documents and Settings\Lanterna Negra\Desktop\Projeto\pawno\include\bCini.inc(17 : error 017: undefined symbol "NovaLinha"
C:\Documents and Settings\Lanterna Negra\Desktop\Projeto\pawno\include\bCini.inc(180) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\Lanterna Negra\Desktop\Projeto\pawno\include\bCini.inc(184) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\Lanterna Negra\Desktop\Projeto\gamemodes\Projeto.pwn(106) : error 017: undefined symbol "dini_Create"
C:\Documents and Settings\Lanterna Negra\Desktop\Projeto\gamemodes\Projeto.pwn(215) : error 033: array must be indexed (variable "bCini_Setado")
C:\Documents and Settings\Lanterna Negra\Desktop\Projeto\gamemodes\Projeto.pwn(221) : error 017: undefined symbol "dini_Int"
C:\Documents and Settings\Lanterna Negra\Desktop\Projeto\gamemodes\Projeto.pwn(253) : error 017: undefined symbol "dini_BoolSet"
C:\Documents and Settings\Lanterna Negra\Desktop\Projeto\gamemodes\Projeto.pwn(255) : error 017: undefined symbol "dini_BoolSet"
C:\Documents and Settings\Lanterna Negra\Desktop\Projeto\gamemodes\Projeto.pwn(257) : error 017: undefined symbol "dini_IntSet"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


11 Errors.
deixa pala manolo '-'
Catchorro is offline   Reply With Quote
Old 27/10/2013, 06:07 AM   #22
BielCOP
Banned
 
Join Date: Nov 2012
Location: Estado de SP
Posts: 1,123
Reputation: -8
Default Re: Criar Um Comando /cv

Atualiza a sua bCini denovo fera.
BielCOP is offline   Reply With Quote
Old 27/10/2013, 07:11 AM   #23
zSuYaNw
Godfather
 
zSuYaNw's Avatar
 
Join Date: Apr 2010
Location: Santa Catarina
Posts: 6,846
Reputation: 660
Default Re: Criar Um Comando /cv

Esquece oque o Biel falou(desfaz tudo oque ele pediu para fazer, ou terá dor de cabeças constantes), você pediu para fazer um simples comando e o Biel pediu para substituir o sistema de salvamento de dados, sendo que os dois não tem nenhuma relação.


Anyway...


Procure antes escolher a tag certa, isto é um pedido!



pawn Code:
new
    _uservehicle[ MAX_PLAYERS ]
;


public OnPlayerConnect(playerid){
    return _uservehicle[ playerid ] = -1;
}


public OnPlayerCommandText(playerid, cmdtext[]){

    if(!strfind(cmdtext, "/cv", true)){
   
   
        if(strlen(cmdtext) == 3 || strlen(cmdtext) == 4)
        {
       
            return SendClientMessage(playerid, -1, "(Erro): digite: /cv <modelo>");

        }
       
       
        strdel(cmdtext, 0, 3);
       
        static
            _model
        ;
       
       
        _model = strval(cmdtext);
       
        if(!(400 < _model < 600)){
            return SendClientMessage(playerid, -1,"(Erro): modelo inválido");
        }
       
       
        if(_uservehicle[playerid] != -1){
            DestroyVehicle(_uservehicle[playerid]);
           
            _uservehicle[playerid] = -1;
        }
       
       
        static
            Float: _pos[3]
        ;
       
        GetPlayerPos(playerid, _pos[0], _pos[1], _pos[2]);
       
       
        _uservehicle[playerid] = CreateVehicle(_model,  _pos[0], _pos[1], _pos[2], 0.0, -1, -1, 0);
       
        PutPlayerInVehicle(playerid, _uservehicle[playerid], 0);
       
        SendClientMessage(playerid, -1, #Divirta-se com seu novo veículo!);

        return true;
    }

    return false;
}


public OnPlayerExitVehicle(playerid, vehicleid){

    if(_uservehicle[playerid] == vehicleid){
        DestroyVehicle(vehicleid);
       
        _uservehicle[playerid] = -1;
    }
    return true;
}


*Criado por mim e testado também
zSuYaNw is offline   Reply With Quote
Old 13/01/2018, 11:35 PM   #24
ShuCk
Little Clucker
 
Join Date: Nov 2017
Posts: 33
Reputation: 17
Default Re: Criar Um Comando /cv

BielCOP você por aqui men kkkk parabens.
ShuCk is offline   Reply With Quote
Old 14/01/2018, 12:40 AM   #25
Marllun
Gangsta
 
Marllun's Avatar
 
Join Date: Oct 2016
Location: Brazil
Posts: 856
Reputation: 32
Default Re: Criar Um Comando /cv

olha a data cara
__________________
Code:
Discord: Marllun#6297
Marllun is offline   Reply With Quote
Old 14/01/2018, 10:52 AM   #26
SnowBorn
Big Clucker
 
Join Date: Nov 2017
Location: Russian
Posts: 136
Reputation: 0
Default Re: Criar Um Comando /cv

Quote:
Originally Posted by Marllun View Post
olha a data cara
Eu também era assim fazer oq '-'
SnowBorn is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Pedido] Podem criar o comando /aestacionar para mim? Não consigo criar tristtok Português/Portuguese 18 22/09/2013 06:36 PM
[Ajuda] Como criar o comando /rg DaviCOP Português/Portuguese 2 24/06/2013 06:40 PM
[Ajuda] Criar objeto com comando! SkullFire Português/Portuguese 9 05/05/2013 02:41 PM
[Ajuda] Ajuda Criar comando brunoboy Português/Portuguese 21 21/07/2012 11:34 AM
[DUV] criar um comando Lucas_Brasil Português/Portuguese 6 24/01/2010 07:04 PM


All times are GMT. The time now is 03:51 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.