Clan Hq
#1

Hi All
Can We Add A HQ For Clans?
This HQ Has A 1 House And 5 Cars
Only Clan Members can Open The Gate
And Only Clan Members Can Ride The Cars
And The Cars Has A One Color
For Example : All Of The Clan Cars Is Red

{Sorry For My Bad English}
Reply
#2

Yes you can.

You need to create an enumerator for the clan and the clan vehicles

then add the clan id on the players data enumerator

You can also use y_groups to group the clan members of the same clan and then use y_text to be able to let them chat easier.
Reply
#3

Quote:
Originally Posted by JesterlJoker
Посмотреть сообщение
Yes you can.

You need to create an enumerator for the clan and the clan vehicles

then add the clan id on the players data enumerator

You can also use y_groups to group the clan members of the same clan and then use y_text to be able to let them chat easier.
For Example : I'm Create A Clan And clan Name is: Test
How To Add A Vehicles For This Clan?
Reply
#4

you need to create new like this
new Org1Cars[ORG1_CARS]; //name this as you want

under ongamemodeinit() where you have vehicles put like this
Org1Cars[0] = AddStaticVehicleEx(vehicle information)
Org1Cars[1] = AddStaticVehicleEx(cehicle information)


for(new j = 0; j < sizeof(Org1Cars); j ++)
{
if(vehicleid == Org1Cars[j] && PlayerInfo[enum info][enum of organization id] == -1)
{
ClearAnimations(playerid);
GameTextForPlayer(playerid,"~r~ YOUR ORGANIZATION NAM",1250,4);
}
}
return 1;
}
i think this shouild be it
NOTE: PUT THINGS I SAID 1 UNDER OTNHER SO U WONT GET ERRORS
Reply
#5

Quote:
Originally Posted by n00blek
Посмотреть сообщение
you need to create new like this
new Org1Cars[ORG1_CARS]; //name this as you want

under ongamemodeinit() where you have vehicles put like this
Org1Cars[0] = AddStaticVehicleEx(vehicle information)
Org1Cars[1] = AddStaticVehicleEx(cehicle information)


for(new j = 0; j < sizeof(Org1Cars); j ++)
{
if(vehicleid == Org1Cars[j] && PlayerInfo[enum info][enum of organization id] == -1)
{
ClearAnimations(playerid);
GameTextForPlayer(playerid,"~r~ YOUR ORGANIZATION NAM",1250,4);
}
}
return 1;
}
i think this shouild be it
NOTE: PUT THINGS I SAID 1 UNDER OTNHER SO U WONT GET ERRORS
Thanks♥
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)