SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 29/05/2020, 01:33 AM   #1
HusteD
Big Clucker
 
Join Date: Oct 2017
Posts: 188
Reputation: 0
Default Pickup

ERRO:
C:\Users\enzoc\OneDrive\Área de Trabalho\Servidor Muhil\gamemodes\Muhil.pwn(86) : error 017: undefined symbol "CreateDynamicPickup"
C:\Users\enzoc\OneDrive\Área de Trabalho\Servidor Muhil\gamemodes\Muhil.pwn(87) : warning 213: tag mismatch
C:\Users\enzoc\OneDrive\Área de Trabalho\Servidor Muhil\gamemodes\Muhil.pwn(87) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Error.



CODIGO:
CreateDynamicPickup(1240, 23, 199.7659,-107.6362,1.5511,266, 10);
Create3DTextLabel("Encher Vida", COR_VERDECLARO , 199.7659,-107.6362,1.5511,266, 10.0, 0, 0);
HusteD is offline   Reply With Quote
Old 29/05/2020, 02:05 AM   #2
FelipeSilvaGM
Big Clucker
 
FelipeSilvaGM's Avatar
 
Join Date: Apr 2020
Location: Casa do Carai
Posts: 78
Reputation: 0
Default Re: Pickup

pawn Code:
public OnGameModeInit()
{
    Create3DTextLabel("Encher Vida", COR_VERDECLARO, 199.7659,-107.6362,1.5511, 20.0, 0, 0);
    AddStaticPickup(1240, 23, 199.7659,-107.6362,1.5511);
    return 1;
}
FelipeSilvaGM is offline   Reply With Quote
Old 29/05/2020, 02:05 AM   #3
AdrianoStk
Huge Clucker
 
AdrianoStk's Avatar
 
Join Date: Jan 2013
Location: Presidente Prudente-SP
Posts: 486
Reputation: 34
Default Re: Pickup

Para utilizar a criação de Pickups dinâmica é necessário utilizar o plugin e include streamer.

Caso contrario utilize apenas CreatePickup

Verifique também se a linha anterior a do código de criar a pickup contem ; ou está correta!
__________________
Hayllander Server's


Breve, nos servidores


Discord
AdrianoStk 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
[FilterScript] H-Pickup - In-Game Pickup Creator haikalbintang Filterscripts 26 19/06/2018 09:51 PM
Trying to store pickup ids to delete them later in a dynamic pickup creator andrew2695 Scripting Help 2 08/05/2017 07:48 PM
¿Can I create an invisible pickup? ¿Puedo crear un pickup invisible? Sujer Help Archive 2 23/02/2011 01:21 PM
Enter pickup, be in car, but the pickup is visible MastahServers Help Archive 1 22/05/2010 10:04 AM
Pickup does not appear (Amount < 400) - Create pickup for specific player? Programie Help Archive 4 19/08/2009 09:50 PM


All times are GMT. The time now is 07:33 AM.


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