[Ajuda] Erro 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] Erro PickUp (
/showthread.php?tid=402185)
Erro PickUp -
brunoboy - 25.12.2012
Qual o Erro?
PHP код:
#include <a_samp>
new pickup; // Create a variable to store the pickup ID in
public OnGameModeInit()
{
pickup = CreatePickup(1242, 2, 1503.3359, 1432.3585, 10.1191, -1);
// Create an armour pickup and store the ID in 'pickup'
return 1;
}
// Later..
DestroyPickup(pickup); // Example of using the pickup ID
PHP код:
C:\Users\Toshiba\Desktop\Meu Proprio GameMode\gamemodes\Untitled.pwn(13) : error 021: symbol already defined: "DestroyPickup"
C:\Users\Toshiba\Desktop\Meu Proprio GameMode\gamemodes\Untitled.pwn(7) : warning 204: symbol is assigned a value that is never used: "pickup"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
Re: Erro PickUp -
mau.tito - 25.12.2012
atualiza o a_samp
Re: Erro PickUp -
brunoboy - 25.12.2012
Como faзo isso?
Re: Erro PickUp -
leigorm - 25.12.2012
Jб tive esse problema e consegui resolve atualizando a_samp
Caso queira :
Clique aqui.
Re: Erro PickUp -
brunoboy - 25.12.2012
Vou testar se foncionar +1

e obrigado