Szerző Téma: ZCMD ékezet  (Megtekintve 563 alkalommal)

ZCMD ékezet
« Dátum: 2016. Március 24. - 23:38:34 »
0
Sziasztok! Az lenne a kérdésem, hogy én ZCMD-ben írtam egy parancsot, az addig szép és jó. Ékezetet magába a parancsba hogy tudok belerakni? Mert ha rakok ékezetet a parancsba, errorozik.
 
CMD:ov(playerid, params[])
{
new string[128];
if(!IsPlayerLoggedIn(playerid) || PlayerInfo[playerid][pAsshole] == 1) return SendClientMessage(playerid, COLOR_GREY, \"Nem használhatod ezt a parancsot.\");
    if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) return SendClientMessage(playerid, COLOR_GREY, \"Nem vagy járműben.\");
    if(PlayerInfo[playerid][pSeatbelt] == 0 && !IsABike(GetPlayerVehicleID(playerid)))
    {
PlayerInfo[playerid][pSeatbelt] = 1;
SendClientMessage(playerid, COLOR_WHITE, \"Bekapcsoltad az öved, mostantól ha ütközöl nem sebződsz!\");
format(string, sizeof(string), \"* %s bekapcsolja az övét\", RPN(playerid));
        SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
}
else if(PlayerInfo[playerid][pSeatbelt] == 0 && IsABike(GetPlayerVehicleID(playerid)))
    {
PlayerInfo[playerid][pSeatbelt] = 1;
SendClientMessage(playerid, COLOR_WHITE, \"Felvetted a sisakod, mostantól ha ütközöl nem sebződsz!\");
format(string, sizeof(string), \"* %s felveszi a sisakját a fejére.\", RPN(playerid));
        SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
        SetPlayerAttachedObject(playerid,9 , 18645, 2, 0.07, 0.017, 0, 88, 75, 0);
}
else if(PlayerInfo[playerid][pSeatbelt] == 1 && !IsABike(GetPlayerVehicleID(playerid)))
    {
PlayerInfo[playerid][pSeatbelt] = 0;
        SendClientMessage(playerid, COLOR_WHITE, \"Kikapcsoltad az övedet!\");
        format(string, sizeof(string), \"* %s kikapcsolja az övét.\", RPN(playerid));
        SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
      }
    else if(PlayerInfo[playerid][pSeatbelt] == 1 && IsABike(GetPlayerVehicleID(playerid)))
{
PlayerInfo[playerid][pSeatbelt] = 0;
SendClientMessage(playerid, COLOR_WHITE, \"Levetted a sisakod!\");
format(string, sizeof(string), \"* %s leveszi a sisakot\", RPN(playerid));
        SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
        RemovePlayerAttachedObject(playerid, 9);
}
return 1;
}

 
Itt az ov helyére szeretnék övet írni, de errort kapok ha arra írom :/ Van valami megoldás erre?
« Utoljára szerkesztve: 2016. Március 24. - 23:45:37 írta anGeL »

Nem elérhető BackUP

  • 908
    • Profil megtekintése
ZCMD ékezet
« Válasz #1 Dátum: 2016. Március 24. - 23:40:42 »
0
Legalább egy percet szántál volna keresésre. Googlebe pontosan csak annyit kellet volna írni mint a téma címe, és ki is adja első találatként..
https://sampforum.hu/index.php?topic=32138.0

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal