Szerző Téma: Error 5db  (Megtekintve 684 alkalommal)

Error 5db
« Dátum: 2011. Március 12. - 12:59:09 »
0 Show voters
C:\\Documents and Settings\\Bluebay\\Dokumentumok\\Downloads\\a\\Mod\\bluebay.pwn(138) : warning 217: loose indentation
C:\\Documents and Settings\\Bluebay\\Dokumentumok\\Downloads\\a\\Mod\\bluebay.pwn(168) : error 001: expected token: \";\", but found \"-identifier-\"
C:\\Documents and Settings\\Bluebay\\Dokumentumok\\Downloads\\a\\Mod\\bluebay.pwn(169) : error 001: expected token: \";\", but found \"-identifier-\"
C:\\Documents and Settings\\Bluebay\\Dokumentumok\\Downloads\\a\\Mod\\bluebay.pwn(170) : error 001: expected token: \";\", but found \"-identifier-\"
C:\\Documents and Settings\\Bluebay\\Dokumentumok\\Downloads\\a\\Mod\\bluebay.pwn(171) : error 001: expected token: \";\", but found \"return\"
C:\\Documents and Settings\\Bluebay\\Dokumentumok\\Downloads\\a\\Mod\\bluebay.pwn(175) : error 030: compound statement not closed at the end of file (started at line 145)

 
A sorok:
130-tól kezdve
 
CreateObject(729, 3758.0971679688, -1049.3806152344, 22.193546295166, 0, 0, 0);
CreateObject(763, 3782.6611328125, -1027.328125, 23.002702713013, 0, 0, 0);
CreateObject(744, 3783.7329101563, -1038.345703125, 22.306625366211, 0, 0, 0);
CreateObject(749, 3803.3459472656, -1055.2156982422, 20.71215057373, 0, 0, 0);
CreateObject(748, 3782.2346191406, -1040.9794921875, 23.45666885376, 0, 0, 0);
CreateObject(750, 3808.3913574219, -1032.6060791016, 21.548503875732, 0, 0, 0);
CreateObject(744, 3802.9118652344, -1048.4647216797, 21.382221221924, 0, 0, 0);
//DM Zóna 1 VÉGE
return 1;
}
 
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(\"/dm\", cmdtext, true) == 0){
    new Pveh;
    Pveh = GetPlayerVehicleID(playerid);
    SetPlayerPos(playerid, 3763.4041 ,-1055.2611 ,24.9338);
    SetVehiclePos(Pveh,3763.4041 ,-1055.2611 ,24.9338);
    SetPlayerFacingAngle(playerid, 0);
    SetVehicleZAngle(Pveh, 0);
    SetPlayerInterior(playerid, 0);
    LinkVehicleToInterior(Pveh, 0);
    SetPlayerVirtualWorld(playerid, 0);
    SetVehicleVirtualWorld(Pveh, 0);
    SendClientMessage(playerid, 0x0000FFFF, \"Elteleportaltal a DM Zonaba!\");
    SendClientMessage(playerid, COLOR_RED, \"DM Jelentése: Deathmatch, csak itt ölheted meg a másik playert!\");
    SendClientMessage(playerid, 0x0000FFFF, \"A Fegyvereket megkaptad!\");
    GivePlayerWeapon(playerid, 24, 500);
    GivePlayerWeapon(playerid, 31, 500);
    GivePlayerWeapon(playerid, 32, 500);
    return 1;
}
{
if (strcmp(\"/bluebay\", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, COLOR_RED, \"szöveg\")
SendClientMessage(playerid, COLOR_YELLOW, \"szöveg\")
SendClientMessage(playerid, COLOR_GREEN, \"szöveg\")
SendClientMessage(playerid, COLOR_GREEN, \"szöveg\")
return 1;
}
return 0;
}

Nem elérhető Mambo

  • 4239
    • Profil megtekintése
Error 5db
« Válasz #1 Dátum: 2011. Március 12. - 13:11:36 »
0 Show voters
SendClientMessage(playerid, COLOR_RED, \"asd\");

Gang[St]e[R]

  • Vendég
Error 5db
« Válasz #2 Dátum: 2011. Március 12. - 13:12:28 »
0 Show voters
Nem tettél pontosan 5 db helyre ; (pontos vesszõt)
SendClienMessage fügvénynél

Error 5db
« Válasz #3 Dátum: 2011. Március 12. - 13:15:08 »
0 Show voters
köszi

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal