public OnPlayerDisconnect(playerid, reason) { //Guardando o dinheiro new DINDIN; new JOG[MAX_PLAYER_NAME]; GetPlayerName(playerid, JOG, sizeof(JOG)); DINDIN = GetPlayerMoney(playerid); udb_UserSetInt(JOG, "Grana", DINDIN); //Guardando o dinheiro FIM return 1; } public OnPlayerSpawn(playerid) { //Puxando o dinheiro new DINDIN; new JOG[MAX_PLAYER_NAME]; GetPlayerName(playerid, JOG, sizeof(JOG)); DINDIN = udb_UserInt(JOG, "Grana"); GivePlayerMoney(playerid, DINDIN); //Puxando o dinheiro FIM return 1; } |
C:\Users\User\Desktop\Pawno\Servidor\LASNOCHES.pwn (123) : error 017: undefined symbol "udb_UserSetInt" C:\Users\User\Desktop\Pawno\Servidor\LASNOCHES.pwn (122) : warning 204: symbol is assigned a value that is never used: "DINDIN" C:\Users\User\Desktop\Pawno\Servidor\LASNOCHES.pwn (13 : error 017: undefined symbol "udb_UserInt" C:\Users\User\Desktop\Pawno\Servidor\LASNOCHES.pwn (174) : warning 202: number of arguments does not match definition C:\Users\User\Desktop\Pawno\Servidor\LASNOCHES.pwn (174) : warning 202: number of arguments does not match definition Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors. |
#include <time> #include <a_players> #include <a_vehicles> #include <a_objects> #include <a_sampdb> #include <dudb> #pragma tabsize 0 |