PDA

View Full Version : [tutorial] cum creezi masina personalizata cel mai usor



Royce.
31-03-2017, 09:19 PM
Pasul 1:
Te duci in joc spawnezi masina te duci unde vrei sa tio spawneze dai /save ==>> te duci unde ai instalat Gta ==>> savedposition Ex: AddStaticVehicle(coordonatele ); // numele cui o faci Si o bagi in GM!

Pasul 2:
Te duci in GM si bagi asta

if(newcar == id de la MASINA)
{

new sendername[MAX_PLAYER_NAME];
GetPlayerName(playerid, sendername, sizeof(sendername));
if(strcmp(sendername," Numele jucatorului caruia o faci!",true))
{
SendClientMessage(playerid,COLOR_GREY," You do not have the keys of this car !");
RemovePlayerFromVehicle(playerid);
}
}