Jump to content
  • 0

pomoc Allunlock


LORD BENDTNER

Dotaz

CMD:allunlock(playerid,params[])
{
new string[80];
if(PlayerInfo[playerid][AdminLevel] < 2) return SCM(playerid,-1,"{FF0000}[ Admin ] {FFFFFF}Nemas AdminLevel 2");
if(IsPlayerConnected(%0))
{
for(new x; x < MAX_VEHICLES;x++)
{
SetVehicleParamsForPlayer(x, i, false, false);
format(string,80,"Administrátor %s odomkol všetky vozidlá na servery !",GetName(playerid));
SendClientMessageToAll(-1,string);
}
}
return 1;
}

 

Pri IsPlayerConnected mi robí toto

error 001: expected token: ";", but found ")"

HELP ME?

Link to comment
Share on other sites

2 odpovědí na tuto otázku

Recommended Posts

  • 0

CMD:allunlock(playerid,params[])

{

new string[80];

if(PlayerInfo[playerid][AdminLevel] < 2) return SCM(playerid,-1,"{FF0000}[ Admin ] {FFFFFF}Nemas AdminLevel 2");

for(new x; x < MAX_VEHICLES;x++)

{

if(IsPlayerConnected(x))

{

SetVehicleParamsForPlayer(x, x, false, false);

format(string,80,"Administrátor %s odomkol všetky vozidlá na servery !",GetName(playerid));

SendClientMessageToAll(-1,string);

}

}

return 1;

}

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...