format(S, sizeof(S), \"{FFFFFF}Fa mennyiség: %d mm3\", fInfo[playerid][FaMennyiseg]); fajelzo = Create3DTextLabel(S, NARANCS, 1380.1187,464.7632,20.3159, 40.0, 0, 0);
#include <a_samp>#include <zcmd>new Text3D:Fajelzo[MAX_PLAYERS];#define NARANCS 0xff6600AAenum Info{FaMennyiseg}new fInfo[MAX_PLAYERS][info];public OnGameModeInit(){ //ezt másold belefor(new i=0;i<MAX_PLAYERS;i++){ new S[62]; format(S, sizeof(S), \"{FFFFFF}Fa mennyiség: %d mm3\", fInfo[FaMennyiseg]); Fajelzo = Create3DTextLabel(S, NARANCS, 0.0,0.0,-50.0, 40.0, 0, 0); SetTimerEx(\"FajelzoUpdate\", 500, true, \"i\", i);}return 1;}//meg ezt:forward FajelzoUpdate(playerid);public FajelzoUpdate(playerid){ new S[62]; format(S, sizeof(S), \"{FFFFFF}Fa mennyiség: %d mm3\", fInfo[playerid][FaMennyiseg]); Update3DTextLabelText(Fajelzo[playerid], NARANCS, S);return 1;}CMD:parancsod(playerid, params[]){Attach3DTextLabelToPlayer(Fajelzo[playerid], playerid, 0.0, 0.0, 1.0);SendClientMessage(playerid, -1, \"Rád van rakva...\");return 1;}
C:\\Documents and Settings\\david\\Asztal\\Defensive\\gamemodes\\xplrp.pwn(865) : warning 213: tag mismatchC:\\Documents and Settings\\david\\Asztal\\Defensive\\gamemodes\\xplrp.pwn(865) : error 001: expected token: \",\", but found \"[\"C:\\Documents and Settings\\david\\Asztal\\Defensive\\gamemodes\\xplrp.pwn(865) : error 029: invalid expression, assumed zeroC:\\Documents and Settings\\david\\Asztal\\Defensive\\gamemodes\\xplrp.pwn(865) : warning 215: expression has no effectC:\\Documents and Settings\\david\\Asztal\\Defensive\\gamemodes\\xplrp.pwn(865) : error 001: expected token: \";\", but found \"]\"C:\\Documents and Settings\\david\\Asztal\\Defensive\\gamemodes\\xplrp.pwn(865) : fatal error 107: too many error messages on one line
format(S, sizeof(S), \"{FFFFFF}Fa mennyiség: %d mm3\", fInfo[FaMennyiseg]);
fInfo[playerid][FaMennyiseg] += 1;
new S[62]; format(S, sizeof(S), \"{FFFFFF}Fa mennyiség: %d mm3\", fInfo[playerid][FaMennyiseg]); Update3DTextLabelText(Fajelzo[playerid], NARANCS, S);