10.01.2011, 17:39
Код:
public OnPlayerConnect(playerid) { TextDrawShowForPlayer(playerid, Textdraw0); TextDrawShowForPlayer(playerid, Textdraw1); GameTextForPlayer(playerid,"Walkies DeathMatch ~w~Server Scripted by ZheFoxy ",5000,1); new pName[MAX_PLAYER_NAME]; new string[48]; dini_Get(udb_encode(name), "cash"); dini_Get(udb_encode(name), "gang"); format(string, sizeof(string), "%s has joined the server.", pName); SendClientMessage(playerid,0xFFFFFFAA,"Welcome to Walkies DeathMatch Created by ZheFoxy"); return 1; } public OnPlayerDisconnect(playerid, reason) { dini_IntSet(udb_encode(pname), "cash", 9999); dini_IntSet(udb_encode(pname), "gang", 1); return 1; }
Код:
C:\Documents and Settings\Administrateur\Bureau\Server Dev\gamemodes\Walkies.pwn(150) : error 017: undefined symbol "udb_encode" C:\Documents and Settings\Administrateur\Bureau\Server Dev\gamemodes\Walkies.pwn(151) : error 017: undefined symbol "udb_encode" C:\Documents and Settings\Administrateur\Bureau\Server Dev\gamemodes\Walkies.pwn(155) : warning 217: loose indentation C:\Documents and Settings\Administrateur\Bureau\Server Dev\gamemodes\Walkies.pwn(160) : error 017: undefined symbol "udb_encode" C:\Documents and Settings\Administrateur\Bureau\Server Dev\gamemodes\Walkies.pwn(161) : error 017: undefined symbol "udb_encode"