Jump to content
  • 0

Ajutor sunt incepator :D


Question

Posted

Ce fac ca sa scap de warninguri ca am o gramada :(

De exemplu E:\123456789\samp\gamemodes\RO.pwn(57) : warning 217: loose indentation,

Comanda pe care am bagat-o a fost

public OnPlayerConnect(playerid)

{

SendClientMessage(playerid,0x336699F,"Bine ai venit pe server");

return 1;

}

Iar pe lina 57 a fost return 1;

Ajutati-ma va rog : :((

7 answers to this question

Recommended Posts

Posted

poti folosi acesta .. deoarece il am si eu si nu da prezenta de warn.

 #define SCM SendClientMessage 
   SendClientMessage(playerid, COLOR_LIGHTBLUE, "[ Bine ai venit pe..........");
              SendClientMessage(playerid, COLOR_LIGHTBLUE, "[Owner: .....]");
	SendClientMessage(playerid, COLOR_WHITE, "[Scripter: .....]");
	SendClientMessage(playerid, COLOR_WHITE, "[Contact: id tau ]");
	SendClientMessage(playerid, COLOR_LIGHTBLUE, "[ ce vrei tu");

Posted

pai nu pune codu de la culoare "0x336699F" ci COLOR_......numele

si cand pui culoarea treb sa ai si asta #define COLOR_WHITE 0xFFFFFFFF la inceput de exmplu la alb=white si codu

Posted

Nu te complica cu astea, fa asa : ( Trebuia doar sa asezi linia cum trebuie ca era pusa aiurea )

public OnPlayerConnect( playerid )
{
	SendClientMessage( playerid, 0x336699F, "Bine ai venit pe server" );
   	return 1;
}

Posted

da da usor

<a href="http://www.game-state.eu/188.212.105.161:7777/"><img src="http://www.game-state.eu/188.212.105.161:7777/430x73_FFFFFF_FF9900_000000_000000.png" alt="www.Game-State.eu" style="border-style: none;" /></a>

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.