17.08.2009, 21:14
Hello guys!
I'm wanna put that command to only who has the DonateRank up of 3 use!
Can someone help me?
The Command:
Thank you!
I'm wanna put that command to only who has the DonateRank up of 3 use!
Can someone help me?
The Command:
Quote:
if (strcmp(cmd, "/comprarv", true) ==0 ) { if(!IsPlayerInAnyVehicle(playerid)){return 1;} if(GetCreatorID(vehicleid)!=0) { if (strmatch(VehicleSystem[GetCreatorID(vehicleid)][owner],Spielername(playerid))){SendClientMessage(playeri d,WHITE," Dieses Auto gehoert dir schon!");return 1;} if (strmatch(VehicleSystem[GetCreatorID(vehicleid)][owner],"dealercar")) { if(VehicleSystem[GetCreatorID(vehicleid)][preis] < GetPlayerMoney(playerid)) { strmid(VehicleSystem[GetCreatorID(vehicleid)][owner],Spielername(playerid),0,128,12; GivePlayerMoney(playerid,-VehicleSystem[GetCreatorID(vehicleid)][preis]); SendClientMessage(playerid,YELLOW," Se divirta com seu novo carro!"); TogglePlayerControllable(playerid,1); SaveTool(); } else { SendClientMessage(playerid,WHITE,"Vocк precisa de mais dinheiro!"); } } else { SendClientMessage(playerid,WHITE,"Esse veiculo nгo estб a venda!"); } } else { SendClientMessage(playerid,WHITE,"Nгo й um carro compravel!"); } return 1; } |