Szerző Téma: scriptelés segítség  (Megtekintve 644 alkalommal)

Nem elérhető ervin990911

  • 910
  • ervin990911
    • Profil megtekintése
scriptelés segítség
« Dátum: 2012. Április 25. - 17:50:25 »
0 Show voters
Az lenne hogy a scriptelésben meg van adva az hogy mennyi helyet kell kihagyni, vagy csak úgy?
 
public OnPlayerCommandText(playerid, cmdtext[])
{
     //First the script gets the vehicle id of the current car and then destroys it when typing /destroyveh
     if(strcmp(cmdtext, \"/destroyveh\", true) == 0)
     {
          new currentveh;
          currentveh = GetPlayerVehicleID(playerid);
          DestroyVehicle(currentveh);
          return 1;
     }
     return 0;
}
[/quote]

Nem elérhető Benceee

  • 4785
    • Profil megtekintése
scriptelés segítség
« Válasz #1 Dátum: 2012. Április 25. - 17:55:55 »
+1 Show voters
Kihagyhatsz akár 1000 sort is. Semmin nem befolyásol, csak sokkal hosszabb, és átláthatatlanabb lesz. ( Meg lehet, hogy terheli a procit. )

Nem elérhető ervin990911

  • 910
  • ervin990911
    • Profil megtekintése
scriptelés segítség
« Válasz #2 Dátum: 2012. Április 25. - 17:58:24 »
0 Show voters
kösz  :thumbsup:

Nem elérhető Benceee

  • 4785
    • Profil megtekintése
scriptelés segítség
« Válasz #3 Dátum: 2012. Április 25. - 18:01:41 »
0 Show voters
Idézetet írta: ervin990911 date=1335369504\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"20624\" data-ipsquote-contentclass=\"forums_Topic
kösz  :thumbsup:
 
[mod]Ha a kérdésedre válasz érkezik, akkor le kell zárni a témát. Lent megtalálod a \"Téma megoldva\" funckciót.[/mod]

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal