09.07.2015, 01:39
can any one make one vip working command .... like varmour / vbike any command so i can make more commands ......
one more thing i saw vip lounge on some other server .... can any one tell me how to add that in this server ?
example....
CMD:dbike(playerid,params[])
{
if(dm[playerid]==1)
{
return SendClientMessage(playerid, red,"[ ERROR: You are in deathmatch, type /Leavedm to use this command. ]");
}
if(IsPlayerVIPLevel(playerid,2))
{
DestroyVehicle(player_veh[playerid]);
new Float:X,Float:Y,Float:Z;
new Float:Angle;
GetPlayerPos(playerid, X,Y,Z);
GetPlayerFacingAngle(playerid,Angle);
player_veh[playerid] = AddStaticVehicleEx(VIP_BIKE, X+3,Y,Z, Angle, random(10), random(10), -1);
LinkVehicleToInterior(player_veh[playerid],GetPlayerInterior(playerid));
SetVehicleVirtualWorld(player_veh[playerid],GetPlayerVirtualWorld(playerid));
PutPlayerInVehicle(playerid,player_veh[playerid],0);
GameTextForPlayer(playerid,"~g~Donor Bike Spawned",5000,3);
}else SendClientMessage(playerid,red,"[ ERROR: You must be Donator(Level: 2) to use this cmd. ]");
return 1;
}
this is dcmd command ...
please make this command to zcmd...
so i can make all donors cmd ...
one more thing i saw vip lounge on some other server .... can any one tell me how to add that in this server ?
example....
CMD:dbike(playerid,params[])
{
if(dm[playerid]==1)
{
return SendClientMessage(playerid, red,"[ ERROR: You are in deathmatch, type /Leavedm to use this command. ]");
}
if(IsPlayerVIPLevel(playerid,2))
{
DestroyVehicle(player_veh[playerid]);
new Float:X,Float:Y,Float:Z;
new Float:Angle;
GetPlayerPos(playerid, X,Y,Z);
GetPlayerFacingAngle(playerid,Angle);
player_veh[playerid] = AddStaticVehicleEx(VIP_BIKE, X+3,Y,Z, Angle, random(10), random(10), -1);
LinkVehicleToInterior(player_veh[playerid],GetPlayerInterior(playerid));
SetVehicleVirtualWorld(player_veh[playerid],GetPlayerVirtualWorld(playerid));
PutPlayerInVehicle(playerid,player_veh[playerid],0);
GameTextForPlayer(playerid,"~g~Donor Bike Spawned",5000,3);
}else SendClientMessage(playerid,red,"[ ERROR: You must be Donator(Level: 2) to use this cmd. ]");
return 1;
}
this is dcmd command ...
please make this command to zcmd...
so i can make all donors cmd ...