Errors :D
#2

/facepalm. Don't post your whole script. I highly doubt anyone will wanna fumble through a whole gamemode to fix 69523549826349875234 errors.




Replace this.
pawn Код:
CMD:nrg(playerid,params[]){
if(PlayerDm[playerid] == 1) return GameTextForPlayer(playerid, "Eroare: Nu poti folosi comanda in DM !",5000,5);
else
{
   if(IsPlayerInAnyVehicle(playerid))
   SendClientMessage(playerid, COLOR_RED, "EROARE: Esti deja intr-un vehicul !");
   else
   {
   new Float:x, nrg,Float:y, Float:z, Float:angle;
   GetPlayerPos(playerid, x, y, z);
   nrg = CreateVehicle(522, x +2, y, z, angle, 0, 0, 60);
   SendClientMessage(playerid, COLOR_YELLOW, "NRG-ul tau personal a fost creat!");
   PutPlayerInVehicle(playerid, nrg, 0);
   GameTextForPlayer(playerid, "~w~Personal ~b~N~g~R~p~G ~w~ was ~y~created~w~!",3000,5);
}
}
   return 1;
   }
With this.
pawn Код:
CMD:nrg(playerid,params[]){
if(PlayerDm[playerid] == 1) return GameTextForPlayer(playerid, "Eroare: Nu poti folosi comanda in DM !",5000,5);
else
{
   if(IsPlayerInAnyVehicle(playerid))
   SendClientMessage(playerid, COLOR_RED, "EROARE: Esti deja intr-un vehicul !");
   else
   {
   new Float:x, nrg,Float:y, Float:z, Float:angle;
   GetPlayerPos(playerid, x, y, z);
   nrg = CreateVehicle(522, x +2, y, z, angle, 0, 0, 60);
   SendClientMessage(playerid, COLOR_YELLOW, "NRG-ul tau personal a fost creat!");
   PutPlayerInVehicle(playerid, nrg, 0);
   GameTextForPlayer(playerid, "~w~Personal ~b~N~g~R~p~G ~w~ was ~y~created~w~!",3000,5);
   }

   return 1;
}
Reply


Messages In This Thread
Errors :D - by DarkyTheAngel - 17.02.2012, 23:20
Re: Errors :D - by ReneG - 17.02.2012, 23:51
Re: Errors :D - by DarkyTheAngel - 18.02.2012, 00:15
Re : Errors :D - by ricardo178 - 18.02.2012, 00:17
Re: Errors :D - by DarkyTheAngel - 18.02.2012, 00:31

Forum Jump:


Users browsing this thread: 1 Guest(s)