AirBites Posted February 1, 2010 Report Share Posted February 1, 2010 Imi puteti spune si mie de unde pot lua comanda /nos va rog? Nu beau, nu fumez, ma scol la 6 in fiecare zi, ma culc la 10, nu-mi insel nevasta... wtf ? Link to comment Share on other sites More sharing options...
monster010 Posted February 1, 2010 Report Share Posted February 1, 2010 Varianta pentru toti playerii : if(strcmp(cmd, "/nos", true) == 0) { if(IsPlayerConnected(playerid)) { if(IsPlayerInAnyVehicle(playerid)) { AddVehicleComponent(GetPlayerVehicleID(playerid), 1010); SendClientMessage(playerid, COLOR_GREY, "[text"); } } return 1; } Varianta pentru admin : if(strcmp(cmd, "/nos", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pAdmin] < [admin level , de la ce level sa foloseasca]) { SendClientMessage(playerid, COLOR_GRAD1, "[text]"); return 1; } if(IsPlayerInAnyVehicle(playerid)) { AddVehicleComponent(GetPlayerVehicleID(playerid), 1010); SendClientMessage(playerid, COLOR_GREY, "[text]"); } } return 1; } Link to comment Share on other sites More sharing options...
Sfinx_17 Posted February 1, 2010 Report Share Posted February 1, 2010 dak vrei sa-ti faci o comanda sa ai nitro cand scrii /nos apoi intra la functia OnePlayerCommmandTextsi incepi asa.......>public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp(cmdtext, "/kungfu style", true) == 0) { SetPlayerFightingStyle (playerid, FIGHT_STYLE_KUNGFU); SendClientMessage(playerid, 0xFFFFFFAA, "You have changed your fighting style to Kungfu!"); return 1; } Link to comment Share on other sites More sharing options...
adytzu32 Posted February 1, 2010 Report Share Posted February 1, 2010 dak vrei sa-ti faci o comanda sa ai nitro cand scrii /nos apoi intra la functia OnePlayerCommmandTextsi incepi asa.......>public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp(cmdtext, "/kungfu style", true) == 0) { SetPlayerFightingStyle (playerid, FIGHT_STYLE_KUNGFU); SendClientMessage(playerid, 0xFFFFFFAA, "You have changed your fighting style to Kungfu!"); return 1; }ce treaba are o animatie cu nitro? :o Proiecte:Hospital Interior-0%(neinceput)Limo Interior-0%(inceput)Bank Interior-0%(neinceput)Bus Interior-0%(inceput)Plane Interior-0%(neinceput)Train Interior-0%(neinceput)Boat Interior-95%(terminat,mici retusuri)Mini-Scripturi care au fost publicate:GPS System: http://forum.sa-mp.ro/filter-scripts-and-gamemodes/%28fs%29-gps-system/ Link to comment Share on other sites More sharing options...
monster010 Posted February 1, 2010 Report Share Posted February 1, 2010 Ba , daca i-am dat eu raspuns , de ce ai mai intervenit si tu ca sa il bagi intr-o ceata densa? Link to comment Share on other sites More sharing options...
Question
AirBites
Imi puteti spune si mie de unde pot lua comanda /nos va rog?
Nu beau, nu fumez, ma scol la 6 in fiecare zi, ma culc la 10, nu-mi insel nevasta... wtf ?
Link to comment
Share on other sites
4 answers to this question
Recommended Posts