viperboy Posted June 15, 2013 Report Share Posted June 15, 2013 Am sistemu /newbuycar si nu stiu cum sa fac sa poata sa intre cei de la tcc in masini personale am incercat cu /tduty dar nu merge[pawn]if(strcmp(cmd, "/tduty", true) == 0){ new str[128]; if(PlayerInfo[playerid][pMember] == 17 || PlayerInfo[playerid][pLeader] == 17) { if(tccind[playerid] == 0 || IsPlayerAdmin(playerid)) { GetPlayerName(playerid, sendername, sizeof(sendername)); tccind[playerid] = 1; format(str,sizeof(str), "[TCC Company] %s. Este la datorie.Scrie /callservice daca ai probleme cu masina", sendername); ABroadCast(COLOR_YELLOW,str,1); } if(PlayerInfo[playerid][pMember] >= 1) { for(new i = 0; i < sizeof(VehicleSystem); i++) { SetVehicleParamsForPlayer(i,playerid,0,1); } } return 1; }[/pawn] <a href="http://www.gametracker.rs/server_info/93.114.82.185:7777/" target="_blank"><img src="http://banners.gametracker.rs/93.114.82.185:7777/big/darkgray/banner.jpg" border="0"></a> Link to comment Share on other sites More sharing options...
Gireada Posted June 15, 2013 Report Share Posted June 15, 2013 Ca sa intre in orice masina trebuie sa pui un if la onplayerstatechange Link to comment Share on other sites More sharing options...
viperboy Posted June 15, 2013 Author Report Share Posted June 15, 2013 si cum fac asta ca ma uit la onplayestate ma ajutati si pe mn fratee <a href="http://www.gametracker.rs/server_info/93.114.82.185:7777/" target="_blank"><img src="http://banners.gametracker.rs/93.114.82.185:7777/big/darkgray/banner.jpg" border="0"></a> Link to comment Share on other sites More sharing options...
alex12alex Posted June 16, 2013 Report Share Posted June 16, 2013 Frate mai incearca si singuru pune id la masina la factiunea respectiva sau ce e ea Link to comment Share on other sites More sharing options...
viperboy Posted June 16, 2013 Author Report Share Posted June 16, 2013 tu nu ma ajuti cu nimica frate dami un exemplu ca asa pot sa zic si eu... <a href="http://www.gametracker.rs/server_info/93.114.82.185:7777/" target="_blank"><img src="http://banners.gametracker.rs/93.114.82.185:7777/big/darkgray/banner.jpg" border="0"></a> Link to comment Share on other sites More sharing options...
Question
viperboy
Am sistemu /newbuycar si nu stiu cum sa fac sa poata sa intre cei de la tcc in masini personale am incercat cu /tduty dar nu merge
[pawn]if(strcmp(cmd, "/tduty", true) == 0)
{
new str[128];
if(PlayerInfo[playerid][pMember] == 17 || PlayerInfo[playerid][pLeader] == 17)
{
if(tccind[playerid] == 0 || IsPlayerAdmin(playerid))
{
GetPlayerName(playerid, sendername, sizeof(sendername));
tccind[playerid] = 1;
format(str,sizeof(str), "[TCC Company] %s. Este la datorie.Scrie /callservice daca ai probleme cu masina", sendername);
ABroadCast(COLOR_YELLOW,str,1);
}
if(PlayerInfo[playerid][pMember] >= 1)
{
for(new i = 0; i < sizeof(VehicleSystem); i++)
{
SetVehicleParamsForPlayer(i,playerid,0,1);
}
}
return 1;
}[/pawn]
<a href="http://www.gametracker.rs/server_info/93.114.82.185:7777/" target="_blank"><img src="http://banners.gametracker.rs/93.114.82.185:7777/big/darkgray/banner.jpg" border="0"></a>
Link to comment
Share on other sites
4 answers to this question
Recommended Posts