Am vazut ca multi cautati, cum sa faceti o factiune noua asa ca mam gandit sa fac un tutorial ca sa nu va mai rupeti atat capul... In tutorialul de mai jos vad ca nu pre-a ati inteles nimic asa ca sa-i dam drumu! :grin:
1.Mai intai dai search(ctrl+f) si cauti:
Code
case 11: //Driving/Flying School
"" wrote:
{
if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[48][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[48][0]; }
else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[49][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[49][0]; }
else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[50][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[50][0]; }
else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[51][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[51][0]; }
}
O dublezi pe asta, si in loc de "//Driving/Flying School" scrii "//FactiuneMeaNoua"
Si in loc de 11 pui 12
2.Acum sa setam spawnul.
Dai search(ctrl+f) si cauta.
Code
if (PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10) //Taxi Cab Company spawn
Pe aceasta o dublezi si in loc de "//Taxi Cab Company spawn" scrii "//FactiuneaMeaNoua".
Acum te duci pe server si alegi un loc pentru spawnul factiunii, si dai /save.
D>Jocuri>GtaSanAndreas>savedpositions.txt
Acum copiezi X,Y,Z(ce ai tu acolo)
Se poate citi dupa virgule. Exemplu: 123, - modelid
456 - X
789 - Y
123 - Z
1.Mai intai dai search(ctrl+f) si cauti:
Code
case 11: //Driving/Flying School
"" wrote:
{
if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[48][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[48][0]; }
else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[49][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[49][0]; }
else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[50][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[50][0]; }
else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[51][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[51][0]; }
}
O dublezi pe asta, si in loc de "//Driving/Flying School" scrii "//FactiuneMeaNoua"
Si in loc de 11 pui 12
2.Acum sa setam spawnul.
Dai search(ctrl+f) si cauta.
Code
if (PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10) //Taxi Cab Company spawn
Pe aceasta o dublezi si in loc de "//Taxi Cab Company spawn" scrii "//FactiuneaMeaNoua".
Acum te duci pe server si alegi un loc pentru spawnul factiunii, si dai /save.
D>Jocuri>GtaSanAndreas>savedpositions.txt
Acum copiezi X,Y,Z(ce ai tu acolo)
Se poate citi dupa virgule. Exemplu: 123, - modelid
456 - X
789 - Y
123 - Z