GTA Közösség - A magyar GTA fórum

San Andreas Multiplayer (SA-MP) => SA-MP: Szerverfejlesztés => Segítségkérés => A témát indította: Bluebay - 2011. március 12. - 12:59:09

Cím: Error 5db
Írta: Bluebay - 2011. március 12. - 12:59:09
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;
}
Cím: Error 5db
Írta: Mambo - 2011. március 12. - 13:11:36
SendClientMessage(playerid, COLOR_RED, \"asd\");
Cím: Error 5db
Írta: Gang[St]e[R] - 2011. március 12. - 13:12:28
Nem tettél pontosan 5 db helyre ; (pontos vesszõt)
SendClienMessage fügvénynél
Cím: Error 5db
Írta: Bluebay - 2011. március 12. - 13:15:08
köszi