SA-MP Forums

SA-MP Forums (https://forum.sa-mp.com/index.php)
-   Português/Portuguese (https://forum.sa-mp.com/forumdisplay.php?f=34)
-   -   [Ajuda] Pickup (https://forum.sa-mp.com/showthread.php?t=676071)

HusteD 29/05/2020 01:33 AM

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);

FelipeSilvaGM 29/05/2020 02:05 AM

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;
}

AdrianoStk 29/05/2020 02:05 AM

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!


All times are GMT. The time now is 04:47 PM.

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