Search Results
I don't know how to fix that.. This is one solution: pawn Код: #define ACHS 12enum PlayerData{    ...    ClassAchs[ACHS]    ...} And then: pawn Код: for(new cname; cname < ACHS; cname...
112
This will fix the error: PlayerStatistics[playerid][ClassAchs][cname] = 0;
112
Quote: Originally Posted by GaGlets(R) Lets think - if player enters new zone the old zones object would be deleted and new one created.. so 500 player, moving from zone to zone, for ever...
424
M4S7reamer v1 Really efficient object streamer! Defines: pawn Код: #define M_ZONES 30      //Total amount of zones will be M_ZONES*M_ZONES (keep this value even)#define M_SIZE 300      /...
424
Have you tried this: pawn Код: string[0] = '\0';
48
https://sampforum.blast.hk/showthread.php?tid=65290
76
Well, zcmd is the fastest command processor that exists.. so about slow processing I may only say that if your interior is not 0, everything processes slow.. atleast for me.
150
oh.. so I doesnt load the level-file..? Make something Like this.. pawn Код: SendClientMessage(playerid, WHITE, "Message 1");if (account){  SendClientMessage(playerid, WHITE, "Message 2");  if (...
102
I had this same problem.. btw, Im still having this stupid problem, but I've figured a small solution: Leave the first line of the file empty and once a new account gets created, write an empty line i...
102
pawn Код: sscanf(params, "ss ", String1, String2);if(!strlen(String1[0])) return SendClientMessage(playerid, COLOR_RED, "Usage: /test (Word1) (Word2)");if(!strlen(String2[0])) return SendClientMes...
117
if (PlayerMoney < 100000); << remove semi-colon { GivePlayerMoney(killerid, 100000); }
107
How to get a random player id from connected players
52
Quote: Originally Posted by Joe Torran C Is there any other way? Yes, something like this is five times faster than sscanf: pawn Код: if(isnull(params)) return Message("Usage: /test...
109
Quote: Originally Posted by Jefff What I must change in this Mастерминд? i want to get score but isnt working if i have - ;x must be >= 0 and i want minus too You need to re...
235
pawn Код: tmpstr[16];sscanf(params, "s ", tmpstr);if(!strcmp(tmpstr, "test", true)){  new value;  if(sscanf(params[strlen(tmpstr)], "d", value)) return SendClientMessage(playerid, COLOR_RED, "Us...
109
pawn Код: public DestroyVehicleEx(vehicleid){  if(!IsVehicleOccupied(vehicleid))  {    DestroyVehicle(vehicleid);    //KillTimer  }} pawn Код: stock IsVehicleOccupied(vehicleid){  for(...
141
You need to include it in your script: pawn Код: #include <a_samp>#include <MidoStream>
127
None of the codes above will show you top 3 most wanted players. This will: pawn Код: if(strcmp(cmd, "/mostwanted", true) == 0 || strcmp(cmd, "/mw", true) == 0){  if(gTeam[playerid] != TEAM_ARMY)...
235
Quote: Originally Posted by Tɧ϶ Tσηί™ its in quotations...so not the problem.
357