- 0
Probleme
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
KiLLeR1122
1. Am o problema la masinile personale. Cand un player isi creeaza masina /buycar ii ia bani pe masina dar nu se salveaza in personalcars.cfg masina si la restart dispar.
2. Cum as putea face la comanda /cc sa nu se stearga chat-ul la admini.
[pawn]if(strcmp(cmd, "/cc", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pHelper] >= 1)
{
ClearChatboxToAll(playerid,100);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "{FF8000}Ghotic GF-RP: {FF2C00}%s {FFFFFF}a sters chatul", sendername);
SendClientMessageToAll(COLOR_LIGHTRED, string);
}
else
{
SendClientMessage(playerid, COLOR_GRAD2, "* Nu ai rangul administrativ neceas!");
return 1;
}
}
return 1;
}[/pawn]
/buycar dealership
[pawn]if (strcmp(cmd, "/buycar", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(IsAtDealership(playerid))
{
if(PlayerInfo[playerid][pPcarkey] == -1) { } else { SendClientMessage(playerid, COLOR_GREY, " Ai deja 1 masina!!Daca vrei sa iti iei alta noua vinde-o pe cea actuala!"); return 1; }
ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "* Lista masini .", "Infernus 1.000.000.$\nBullet 450.000$\nCheetah 900.000$\nTurismo 250.000$\nSupergt 200.000$\nBanshee 100.000$\nZR-350 80.000$\nElegy 81.000$\nJester 83.000$\nSultan 79.000$\nUranus 75.000$\nFlash 70.000$\nStratum 95.000$\nAlpha 68.000$ \n* Next","Cumpara", "Cancel");
}
else { SendClientMessage(playerid, COLOR_WHITE,"* Nu esti la magazinul de masini."); }
}
return 1;
}[/pawn]
Te-am ajutat cu ceva? Da-mi un POZITIV !
4 answers to this question
Recommended Posts