Search Results
Quote: Originally Posted by Varg PHP код:     SQL_SaveCharacter(playerid);     ResetNameTag(playerid);     Report_Clear(playerid);     ResetStatistics(playerid);  Â...
225
PHP код: new textdrawid = -1;  for(new i, j = sizeof Msgs; i<j; i++) {     if(!strfind(Msgs[i][0], msg, true)) continue;     textdrawid = Msgs[i][1];     break; }...
150
Quote: Originally Posted by SapMan That is, I must use three times "for (new i = 0, j = GetPlayerPoolSize (); i <= j; i ++)"? PHP код: public DerbyCountdown()  {      if(...
483
Quote: Originally Posted by UFF Код: for(new xx = 0; xx < MAX_PLAYERS; xx++) This loop is not optimized, it loops for MAX_PLAYERS time which is 1000 if not changed. for(new play...
483
I dont see any mistake in this code, does it work fine with you?
167
You need to forward the functions You will get error undefined symbol (playerid) in Test_One So you'd better use SetTimerEx PHP код: new TimerTest[MAX_PLAYERS]; forward Test_One(playerid);...
118
Quote: Originally Posted by Aerotactics Can't debug it that way, tag mismatch. Which line?
278
Dont type .dll if you are hosting on Windows, just plugins tde
201
Are you sure the variable is working like it suppose to, in that way HealthInfo[id][HealthLevel] might me considered as a string
358
PHP код: CMD:stats(playerid, params[]) {     new id;     if(isnull(params)) format(params, 10, "%d", playerid);     if(sscanf(params, "i", id)) return SCM(playerid,-1, "*...
189
PHP Code: public OnPlayerDeath(playerid, killerid, reason) {     if(killerid != INVALID_PLAYER_ID)     {         SendDeathMessage(killerid, playerid, reason);     }   ...
154
Show us how you are defining PlayerInfo and the enum inside it aswell
358
Debug PHP код: public OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid) {     printf("playertextid = %d", playeridtextid);     for(new i=0; i<5; i++)     { ...
278
https://sampforum.blast.hk/showthread.php?tid=376758
447
Use triggerfinger script only for Deagle, its kinda useless with other weapons and people are using it specially with deagle. Can you show us the code?
170
You dont need to loop at each playerconnect, simply create the player's textdraw when he connects and destroy it when he disconnect PHP код: //OnPlayerConnec InfectionLabel[playerid] = TextD...
140
Using Mapandreas, this function will help you Код: native MapAndreas_FindZ_For2DCoord(Float:X, Float:Y, &Float:Z); P.S: i agree with the previous idea for crouch check, its kinda better and ca...
191
First thing i will say, use triggerfinger script only for Deagle, its kinda useless with other weapons and people are using it specially with deagle. Can you show us the code?
170
TextDrawColor(MENU_RACEDM[5], #FFFFFF00);
460