Search Results
This is an example. PHP код: #define MINUTES 10 // 10 Minutes. #define MILISECONDS MINUTES * 60 new     RegisterTime[MAX_PLAYERS]; public OnPlayerConnect(playerid) {     R...
104
PHP код: #define MAX_LABELS 1000 // Change this to the limit of labels that can be created. Since you are using a streamer, there is no actual limit (I guess). #defin...
120
PHP Code: CMD:clearbans(playerid) {     if(!IsAuth(playerid, 6)) return NoAuth(playerid);          // Create the file on OnGameModeInit() using io_append instead of io_wri...
137
First of all, you should use a command processor, like ZCMD: https://sampforum.blast.hk/showthread.php?tid=91354 Then you can do it like this. PHP код: #define DIALOG_ID_VIP_COLORS 1 CMD:...
97
https://sampwiki.blast.hk/wiki/NetStats_PacketLossPercent https://sampwiki.blast.hk/wiki/GetPlayerPing https://sampforum.blast.hk/showthread.php?tid=172085 https://sampwiki.blast.hk/wiki/TextDrawSetSt...
85
This? PHP код: main() {     new         mainStr[50] = {"This|Is|An|Example"}, // Main string which stores the data.         splittedStr[4][20]; // Splitted resu...
86
PHP Code: // Simple Jump / Speed / Fix using keys. #define HOLDING(%0) ((newkeys & (%0)) == (%0)) #define JUMP_MULTIPLIER 0.5 #define SPEED_MULTIPLIER 1.5 public OnPlayer...
159
I wrote you a new code. It should work, I haven't tested it yet. Let me know if it works. PHP код: // Make sure if you add levels change this defines and then add the respectiveÂ...
154
Add this near the top of your script: PHP Code: native WP_Hash(buffer[], len, const str[]);  https://sampforum.blast.hk/showthread.php?tid=570945
94
I think this will work way better for you (No strcmp/looping is needed) PHP код: enum carEnum{     id_x,     carowner[MAX_PLAYER_NAME], // Since you have this variable, only p...
104
Yeap, just put it together in the same position (white with blue, red with green, etc..).
263
Becose that line is too long. Try this: Top of the script: pawn Код: #define VipDialogLenght 500static VipDialog[VipDialogLenght]; OnGameModeInit: pawn Код: strcat(VipDialog, "Vehicle Comm...
93
What you need? A Admin command to change all players virtual world?, or just change the world who type the command?
129
Try this. pawn Код: dcmd_a(playerid, params[]){    if(PlayerInfo[playerid][pAdmin] == 0) return 1;        new Message[128], Sendername[MAX_PLAYER_NAME];    if(sscanf(params, "s[128]", Mes...
185
In this line: pawn Код: printf("%s %s: %s",arank, sendername, message); Print's all the message?
185
pawn Код: CMD:setworld(playerid,params[]){    new Player, World;    if(PlayerInfo[playerid][pAdminLevel] < 2) return 1;    if(sscanf(params, "ui", Player, World)) return SendClientMessage...
129