02.07.2012, 19:30
Hi, I'm new to the forum. This is now required of you is something I'm looking for ages. I exp system RolePlay server. But most important for me to have textdraw under the money and write as
0/400 (this means a Level)
0/800 (2 Level)
etc..
please help me!
i have this picture for little exsample
i have this cmd but level is go up on evry 1 hour and he don't texdraw. i want 1 exp to go up on 1 minute exsampe:
1/400 the 1 exp to chenge evry 1 minute
here is the cmd !
sory for my bad english !! please help me !
0/400 (this means a Level)
0/800 (2 Level)
etc..
please help me!
i have this picture for little exsample
i have this cmd but level is go up on evry 1 hour and he don't texdraw. i want 1 exp to go up on 1 minute exsampe:
1/400 the 1 exp to chenge evry 1 minute
here is the cmd !
Код:
pLevelSistem forward Level(); SetTimer("Level",60000,true); Public Level() { new i; for(i = 0; i < MAX_PLAYERS; i++) { if(!IsPlayerConnected(i)) PlayerInfo[pLevelSistem] ++; if(PlayerInfo [pLevelSistem] == 1) { PlayerInfo[pExp] ++; PlayerInfo[pLevelSistem] = 0; ShowClientMesssage(i, COLOR_LIGHTBLUE, "You have 1 exp to play on 1 minute on server"); } } } OnPlayerRegister format(var, 128, "Time=%d\n",PlayerInfo[playerid][pLevelSistem]);fwrite(hFile, var); OnPlayerUpdate format(var, 128, "Time=%d\n",PlayerInfo[playerid][pLevelSistem]);fwrite(hFile, var); OnPlayerLogin if( strcmp( key , "Vreme" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pLevelSistem] = strval( val ); }