-
Posts
536 -
Joined
-
Last visited
Content Type
Profiles
Forums
News
Documentation
Posts posted by XpLoD
-
-
5/5 super smecher ;)
-
Bunicica:-?? 5/5
-
ciudata 3/5
-
hmm:-? 4/5
-
bunicica 3.5/5
-
bun 5/5
-
-
sunt asa de invizibil? sau comunitatea din romania s-a dus de rapa? si au ramas decat 2-3 care stiu scripting?
-
e dragut 4/5
-
nu e cine stie ce 3/5
-
2/5 wtf? ce e asta??/
-
2/5 lol
-
1. Cum as putea face o lista in dialog (MSG) in care sa arate decat 5 playeri pe care ii vreau eu nu toti, doar pe cei care i'as vrea.. si cine acumuleaza cele mai multe 'killuri' sa fie pe primul loc, al2lea pe al2lea loc.. repet doar 5 pe care ii vreau eu, nu toti cand intra face 100 kiluri si sa fie in 'Top' doar pe cei care ii vreau, si sa zicem dintre aia 5 sa scrie ceva de genu " Nick - 50 kill " . ceva asemanator.
2. Giveallweapon, pur si simplu e buguit, cand dau /giveallweapon [id] (Ammo) -> [10/11/50/31/500]. dau un ex, se pune automat 0. daca dau /giveallweapon [id] si atat, se pune automat 500.
dcmd_giveallweapon(playerid,params[]) { if(PlayerInfo[playerid][Level] >= 9) { new tmp[256], tmp2[256], Index, ammo, weap, WeapName[32], string[128]; tmp = strtok(params,Index); tmp2 = strtok(params,Index); if(!strlen(tmp) ) return SendClientMessage(playerid, red, "USAGE: /giveallweapon [weapon id/weapon name] [ammo]"); if(!strlen(tmp2) || !IsNumeric(tmp2) || strval(tmp2) <= 0 || strval(tmp2) > 99999) ammo = 500; if(!IsNumeric(tmp)) weap = GetWeaponIDFromName(tmp); else weap = strval(tmp); if(!IsValidWeapon(weap)) return SendClientMessage(playerid,red,"ERROR: Invalid weapon ID"); CMDMessageToAdmins(playerid,"GIVEALLWEAPON"); for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { PlayerPlaySound(i,1057,0.0,0.0,0.0); GivePlayerWeapon(i,weap,ammo); } } GetWeaponName(weap, WeapName, sizeof(WeapName) ); format(string,sizeof(string),"Administrator \"%s\" has given all players a %s (%d) with %d rounds of ammo", pName(playerid), WeapName, weap, ammo); return SendClientMessageToAll(blue, string); } else return SendClientMessage(playerid,red,"ERROR: You are not a high enough level to use this command"); }
3. Cum as putea face /mute [playerid] [minutes] [reason] ..dcmd_mute(playerid,params[]) { if(PlayerInfo[playerid][LoggedIn] == 1) { if(PlayerInfo[playerid][Level] >= 3) { new tmp[256], tmp2[256], Index; tmp = strtok(params,Index), tmp2 = strtok(params,Index); if(!strlen(params)) return SendClientMessage(playerid, red, "USAGE: /mute [playerid] [reason]"); new player1, playername[MAX_PLAYER_NAME], adminname[MAX_PLAYER_NAME], string[128]; player1 = strval(tmp); if(IsPlayerConnected(player1) && player1 != INVALID_PLAYER_ID && (PlayerInfo[player1][Level] != ServerInfo[MaxAdminLevel]) ) { if(PlayerInfo[player1][Muted] == 0) { GetPlayerName(player1, playername, sizeof(playername)); GetPlayerName(playerid, adminname, sizeof(adminname)); CMDMessageToAdmins(playerid,"MUTE"); PlayerPlaySound(player1,1057,0.0,0.0,0.0); PlayerInfo[player1][Muted] = 1; PlayerInfo[player1][MuteWarnings] = 0; if(strlen(tmp2)) { format(string,sizeof(string),"You have been muted by Administrator %s [reason: %s]",adminname,params[2]); SendClientMessage(player1,blue,string); format(string,sizeof(string),"You have muted %s [reason: %s]", playername,params[2]); return SendClientMessage(playerid,blue,string); } else { format(string,sizeof(string),"You have been muted by Administrator %s",adminname); SendClientMessage(player1,blue,string); format(string,sizeof(string),"You have muted %s", playername); return SendClientMessage(playerid,blue,string); } } else return SendClientMessage(playerid, red, "Player is already muted"); } else return SendClientMessage(playerid, red, "Player is not connected or is the highest level admin"); } else return SendClientMessage(playerid,red,"ERROR: You are not a high enough level to use this command"); } else return SendClientMessage(playerid,red,"ERROR: You must be logged in to use this commands"); }
Multumesc mult pentru ajutorul acordat !
-
fiindca esti la inceput 4/5
-
stuntman[]!" post="78196" timestamp="1308487800"]
Atat de inundata era scoala mea primavara asta cand ploua torential, pana sus la trotuar =]]
4/5
hahahaha , ce scoala aveai !
4/5 pentru harta
-
3/5 bun xD
-
1/5, prea simplu si putine informatii...
1.5/5 putine informtii.
-
foarte tare 10/10
-
fail sectiune.
-
bun,bun 5/5
-
pare sa nu fie facut de tine :-? dar nu l'am mai vazut .. 5/5 daca e facut de tine :)
-
m-am chinuit sa vad harta 4/5 pentr incepator. 2/5 pentru calitatea video-ului, so 3/5 pentru ce ai facut
dar nu vad download:-?
-
frumos, bravo 5/5
-
foarte tare 10/10
[TextDraw]SA-MP.Star
in Filterscript-uri
Posted
WOOOOOOOOOOOOOW CE SMECHEEEEEEEEER :O <-- ( FAIL ) | 5/5 |