Guest poblib Odesláno: 11. Říjen, 2008 Share Odesláno: 11. Říjen, 2008 tu davam iba cast skryptu v ktorej musi byt chyba prosim povedzte mi co mam zle/ dcmd_car(playerid, params[]) { new car; car = strval(params); if (!strlen(params)) return SendClientMessage(playerid, 0xAFAFAFAA, "[ Info ] Použitie: /car [idauta]"); // else if(admin[playerid] < 5) return SendClientMessage(playerid, 0xAFAFAFAA, "[ Info ] Toto sú iba Admin [ level 5 ] príkazy."); if(car == -1) { if(car < 400 || car > 611) return SendClientMessage(playerid, 0xAFAFAFAA, "[ ! ] Zle ID [400-611]"); } if(Aut == 15) return SendClientMessage(playerid, 0xAFAFAFAA, "[ 15/15 ] Vozidlo nebolo vytvorene,prilis vela "); else if(Aut < 15) { new Float:Uhel,Float:X,Float:Y,Float:Z; GetPlayerFacingAngle(playerid,Uhel); GetPlayerPos(playerid, X,Y,Z); InfrontOf(playerid, X, Y, 4.0); Auticek[Aut] = CreateVehicle(car, X,Y,Z, Uhel+90, black, black, 600000); Aut++; new string[80]; format(string, 80, "[%d/15][ ! ] Vytvoril si vozidlo,pouzi /dcar na znicenie.", Aut); SendClientMessage(playerid, 0xAFAFAFAA, string); } return true; } Link to comment Share on other sites More sharing options...
0 Daffy 8 Odesláno: 11. Říjen, 2008 Share Odesláno: 11. Říjen, 2008 no rekl bych ze to mas nachuja ...udelej si to nejak hur ..ne sranda v tomhlenstom se mi hrabat nechce Link to comment Share on other sites More sharing options...
0 FreeWall 3 Odesláno: 11. Říjen, 2008 Share Odesláno: 11. Říjen, 2008 řekl bych že mi to něco připomíná, neni to náhodou kopíráckej eXis ? :angel: Link to comment Share on other sites More sharing options...
0 Guest poblib Odesláno: 13. Říjen, 2008 Share Odesláno: 13. Říjen, 2008 ne lol{ Link to comment Share on other sites More sharing options...
0 FreeWall 3 Odesláno: 13. Říjen, 2008 Share Odesláno: 13. Říjen, 2008 ale jo lol{ Link to comment Share on other sites More sharing options...
Dotaz
Guest poblib
tu davam iba cast skryptu v ktorej musi byt chyba prosim povedzte mi co mam zle/
dcmd_car(playerid, params[])
{
new car;
car = strval(params);
if (!strlen(params)) return SendClientMessage(playerid, 0xAFAFAFAA, "[ Info ] Použitie: /car [idauta]");
// else if(admin[playerid] < 5) return SendClientMessage(playerid, 0xAFAFAFAA, "[ Info ] Toto sú iba Admin [ level 5 ] príkazy.");
if(car == -1)
{
if(car < 400 || car > 611) return SendClientMessage(playerid, 0xAFAFAFAA, "[ ! ] Zle ID [400-611]");
}
if(Aut == 15) return SendClientMessage(playerid, 0xAFAFAFAA, "[ 15/15 ] Vozidlo nebolo vytvorene,prilis vela ");
else if(Aut < 15)
{
new Float:Uhel,Float:X,Float:Y,Float:Z;
GetPlayerFacingAngle(playerid,Uhel);
GetPlayerPos(playerid, X,Y,Z);
InfrontOf(playerid, X, Y, 4.0);
Auticek[Aut] = CreateVehicle(car, X,Y,Z, Uhel+90, black, black, 600000);
Aut++;
new string[80];
format(string, 80, "[%d/15][ ! ] Vytvoril si vozidlo,pouzi /dcar na znicenie.", Aut);
SendClientMessage(playerid, 0xAFAFAFAA, string);
}
return true;
}
Link to comment
Share on other sites
4 odpovědí na tuto otázku
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now