[Ajuda] Veiculo da casa sу pro dono ajuda ae
#1

Quero definir o veiculo sу pro dono da casa alguem me ajdua com algo mais rep


Quote:

new vId = GetPlayerVehicleID(playerid);
if (GetPlayerState(playerid) == 2)
if(vId==2)
{
if(PlayerInfo[playerid][pPhousekey] == 0)
{
TogglePlayerControllable(playerid, 1);
format(string, 256, "%s, ligou o veнculo.",sendername);
ProxDetector(20.0,playerid,string,COLOR_PURPLE,COL OR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
else
{
SendClientMessage(playerid, COLOR_GRAD1,"Vocк nгo tem as chaves, para ligar esse veiculo.");
TogglePlayerControllable(playerid, 1);
return 1;
}


if (GetPlayerState(playerid) == 2)
if(vId==3)
{
if(PlayerInfo[playerid][pPhousekey] == 1)
{
TogglePlayerControllable(playerid, 1);
format(string, 256, "%s, ligou o veнculo.",sendername);
ProxDetector(20.0,playerid,string,COLOR_PURPLE,COL OR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
else
{
SendClientMessage(playerid, COLOR_GRAD1,"Vocк nгo tem as chaves, para ligar esse veiculo.");
TogglePlayerControllable(playerid, 1);
return 1;
}
}

Reply
#2

este sistema de casas: https://sampforum.blast.hk/showthread.php?tid=326008
ja tras isso.
Reply
#3

vlw acho q vo usar a base desti sistema ai
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)