Search Results
Quote: help me with a restriction,like if 10 people have teleported to the event,i want the others to not be able to tp anymore Код: new playersteleported; CMD:tpevent(playeri...
183
Hi, You can do a whitelist with an array. Bye.
132
Hi, Because you aren't saving it at OnGameModeExit(). You can do it with the for command to save it for all players. But you also should make a saving command which saves it In-Game and everytime you...
170
Hi, That's one way. Another system is to make a timer for the player, which disables the variable. And of course check if the variable is enabled on the Command start. Ex. not for copying: Код: n...
218
Yeah, also when you add a new server to your favorites list without port, it adds 7777, so 8192 isn't used.
138
Код: #include DOF2 #define DINI_CONVERT And you can work with better system like when you worked with Dini. Good, or not? You have only to add Код: public OnGameModeInit() { DOF2_Exit(); }...
118
What about to try "print("");" command? Because the "f" means formatted.
82
You can edit that code of course. I made it within 3 minutes so I didn't look for mistakes.
193
You can make it with files. Код: stock pName(playerid) { new n[25]; GetPlayerName(playerid,n,sizeof(n)); return n; } CMD:whiteadd(playerid,params[]) { new player,string[50]; ...
193
You can use this: Код: stock pName(playerid) { new n[25]; GetPlayerName(playerid,n,sizeof(n)); return n; } public OnPlayerConnect(playerid) { if(strcmp(pName(playerid),"Nick1") ||...
193
Else you can find this: Код: #undef MAX_PLAYERS #undef MAX_HOUSES You should define this: Код: #define MAX_PLAYERS 500 #define MAX_HOUSES 500 You have to define it, if this is missing: Код...
93
Код: if(sscanf(params,"uis", id, minutes, reason)) return SendClientMessage(playerid,-1,"Използвай: /tmute [playerid] [time] [reason]"); Just a fast look, try this.
194
Use IZcmd. Код: #include izcmd CMD:gotohouse(p,params[]) { if(pl[playerid][pAdmin]==0) return 1; if(!strval(params)) return SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /gotohouse ...
88
Код: CMD:createeffect(playerid, params[]) { new id, effect[15]; if(sscanf(params, "r,s[15]", id, effect)) { SendClientMessage(playerid, COLOR_GREY, "USAGE: /createeffect [PON/i...
105
Код: forward NameTag(playerid); public NameTag(playerid) { new Float:health,Float:armour, string[40]; GetPlayerHealth(playerid,health); GetPlayerArmour(playerid,armour); format(str...
164
Код: forward NameTag(); public NameTag() { new Float:health,Float:armour, playerid,string[40]; GetPlayerHealth(playerid,health); GetPlayerArmour(playerid,armour); format(string,sizeof(strin...
164