04.05.2013, 20:30
Hey guys..i need your help
okay,here we are
i want to create a /eveh command..
it looks like this
As you can see,its german^^(because i'm from germany..)
okay,bute i want,when i type /eveh 411 1 1 0,that the car can't be driven,but when i type /veh 411 1 1 1,your should be able to drive it..
SO,how to do it
sry for my bad english:S
okay,here we are
i want to create a /eveh command..
it looks like this
Код:
ocmd:eveh(playerid,params[]) { new vehid,c1,c2,fahrbar; if(sscanf(params,"i,i,i,i"))return SendClientMessage(playerid,-1,"Benutze: '/eveh [Carid] [Farbe 1] [Farbe 2] [Fahrbar(0=nicht fahrbar) (1=Fahrbar)]"); //adminabfrage rein if(vehid <400 || vehid >611)return SendClientMessage(playerid,-1,"Achtung!Die Carid darf nur von 400-611 gehen!"); if(fahrbar <0 || fahrbar >1)return SendClientMessage(playerid,-1,"Achtung! Der Wert fьr fahrbar = 1,fьr nicht fahrbar = 0"); new Float:X,Float:Y,Float:Z; GetPlayerPos(playerid,X,Y,Z); CreateVehicle(vehid,X,Y,Z,c1,c2); return 1; }
okay,bute i want,when i type /eveh 411 1 1 0,that the car can't be driven,but when i type /veh 411 1 1 1,your should be able to drive it..
SO,how to do it
sry for my bad english:S