RenDy Posted January 27, 2011 Report Share Posted January 27, 2011 C:\Users\Daniel\Desktop\prohlds.ro\gamemodes\prohlds.pwn(26894) : warning 217: loose indentationC:\Users\Daniel\Desktop\prohlds.ro\gamemodes\prohlds.pwn(26897) : warning 217: loose indentationC:\Users\Daniel\Desktop\prohlds.ro\gamemodes\prohlds.pwn(26900) : warning 217: loose indentationC:\Users\Daniel\Desktop\prohlds.ro\gamemodes\prohlds.pwn(26912) : warning 217: loose indentationC:\Users\Daniel\Desktop\prohlds.ro\gamemodes\prohlds.pwn(26916) : warning 217: loose indentationPawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhaseHeader size: 9784 bytesCode size: 1801140 bytesData size: 5531944 bytesStack/heap size: 16384 bytes; estimated max. usage=4123 cells (16492 bytes)Total requirements: 7359252 bytes5 Warnings. Link to comment Share on other sites More sharing options...
-=[Vyorel]=- Posted January 27, 2011 Report Share Posted January 27, 2011 Adauga pe la inceputul scriptului, dupa #include ... linia asta#pragma tabsize 0 ATENTIE!!! Nu imi trimiteti mesaje private care au legatura cu scriptingul. NU mai scriptez. Link to comment Share on other sites More sharing options...
RenDy Posted January 27, 2011 Author Report Share Posted January 27, 2011 #include <a_samp>#include <core>#include <float>#include <time>#include <file>#include <utils>#include <morphinc>#include <JunkBuster>#include <MidoStream>static gTeam[MAX_PLAYERS];#pragma tabsize 0si asa#include <a_samp>#include <core>#include <float>#include <time>#include <file>#include <utils>#include <morphinc>#include <JunkBuster>#include <MidoStream>#pragma tabsize 0static gTeam[MAX_PLAYERS];tot imi apar acelea Link to comment Share on other sites More sharing options...
Guest PlayON Posted January 27, 2011 Report Share Posted January 27, 2011 =-" post="51827" timestamp="1296161226"]Adauga pe la inceputul scriptului, dupa #include ... linia asta#pragma tabsize 0 Ba esti culmea, nu da sfaturi prostesti... RenDy, uitate la liniile 26894 26897 26900 26912 26916 din GM, si vezi ce nu ti se pare la locul lui. De exemplu sa zicem ca ai publicul asta public OnPlayerConnect( playerid ) { pVar[ playerid ] = 0; pVar2[ playerid ] = 0; return 1; } Ceea ce este incorect si va da warn la pVar2[ playerid ] spunand ca nu este bine identat, deci va trebuio sa arate asa public OnPlayerConnect( playerid ) { pVar[ playerid ] = 0; pVar2[ playerid ] = 0; return 1; }Alineat frumos. Link to comment Share on other sites More sharing options...
RenDy Posted January 27, 2011 Author Report Share Posted January 27, 2011 Am incercat si tot la fel .uitati cum am intre acele erori adica intre 26895-26917 } SetPlayerHealth(playerid,999); SetPlayerArmour(playerid,31000000000); } else { new name[MAX_PLAYER_NAME]; GetPlayerName(playerid,name,MAX_PLAYER_NAME); format(string,sizeof(string),"Admin %s is no longer on Duty.",name,playerid); SendClientMessageToAll(0x756FEEFF,string); AdminDuty[playerid] = 0; new pname[16]; GetPlayerName(playerid,pname,16); strdel(pname, strlen(pname)-5, strlen(pname)); if(aodtag[playerid] == 1) { aodtag[playerid] = 0; SetPlayerName(playerid,pname); } SetPlayerHealth(playerid,100); SetPlayerArmour(playerid,000); } } return 1; Link to comment Share on other sites More sharing options...
Guest PlayON Posted January 27, 2011 Report Share Posted January 27, 2011 I-a incearca acuma } SetPlayerHealth(playerid,999); SetPlayerArmour(playerid,31000000000); } else { new name[MAX_PLAYER_NAME]; GetPlayerName(playerid,name,MAX_PLAYER_NAME); format(string,sizeof(string),"Admin %s is no longer on Duty.",name,playerid); SendClientMessageToAll(0x756FEEFF,string); AdminDuty[playerid] = 0; new pname[16]; GetPlayerName(playerid,pname,16); strdel(pname, strlen(pname)-5, strlen(pname)); if(aodtag[playerid] == 1) { aodtag[playerid] = 0; SetPlayerName(playerid,pname); } SetPlayerHealth(playerid,100); SetPlayerArmour(playerid,000); } } Link to comment Share on other sites More sharing options...
Question
RenDy
Link to comment
Share on other sites
5 answers to this question
Recommended Posts