Jump to content
  • 0

pomoc jail od mavericka


Guest jirbate

Dotaz

C:\DOCUME~1\Sekerka\Plocha\pawno\chigago.pwn(1757) : error 029: invalid expression, assumed zero

C:\DOCUME~1\Sekerka\Plocha\pawno\chigago.pwn(1757) : warning 215: expression has no effect

C:\DOCUME~1\Sekerka\Plocha\pawno\chigago.pwn(1757) : error 001: expected token: ";", but found "]"

C:\DOCUME~1\Sekerka\Plocha\pawno\chigago.pwn(1757) : error 029: invalid expression, assumed zero

C:\DOCUME~1\Sekerka\Plocha\pawno\chigago.pwn(1757) : fatal error 107: too many error messages on one line

Link to comment
Share on other sites

16 odpovědí na tuto otázku

Recommended Posts

  • 0
else if(jail[playerid] > 0) SendClientMessage(playerid, COLOR_****, "[ ! ] Hrac uz je zatceny.");

 

 

 

nahoru new jail[MAX_PLAYERS];

 

omfg totální hovadina, když mu to asi píše že mu tam chybí středník mg....

Link to comment
Share on other sites

  • 0
else if([zatykany][Vezeni] > 0) SendClientMessage(playerid, B_BILA, "[ ! ] Hrac uz je zatceny.");

 

možná to máš nějak takhle :

 

if(něco){
else if([zatykany][Vezeni] > 0) SendClientMessage(playerid, B_BILA, "[  !  ] Hrac uz je zatceny.");
}

 

změn to na

 

if(něco){
}else if([zatykany][Vezeni] > 0) SendClientMessage(playerid, B_BILA, "[  !  ] Hrac uz je zatceny.");

Link to comment
Share on other sites

  • 0

forward GetDistanceBetweenPlayers(playerid,playerid2);

 

public GetDistanceBetweenPlayers(playerid,playerid2)

{

new Float:x1,Float:y1,Float:z12,Float:x2,Float:y2,Float:z21;

new Float:tmpdis;

GetPlayerPos(playerid,x1,y1,z12);

GetPlayerPos(playerid2,x2,y2,z21);

tmpdis = floatsqroot(floatpower(floatabs(floatsub(x2,x1)),

2)+floatpower(floatabs(floatsub(y2,y1)),

2)+floatpower(floatabs(floatsub(z21,z12)),2));

return floatround(tmpdis);

}

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...