[Ajuda] Pickup - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Pickup (
/showthread.php?tid=676071)
Pickup -
HusteD - 29.05.2020
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 © 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);
Re: Pickup -
FelipeSilvaGM - 29.05.2020
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;
}
Re: Pickup -
AdrianoStk - 29.05.2020
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!