Jatinho Particular -
LoostGamer - 23.11.2012
No SAMP, quando se tenta entrar de carona no Aviгo Shamal (ID 519), nгo se entra no aviгo, neste caso, eu queria que quando tentasse dar "G" neste aviгo, fosse setado para este interior: Jб Tenho As Posiзхes X, Y e Z ...
Re: Jatinho Particular -
ViniBorn - 23.11.2012
Sim. Pode usar as funзхes que detectam entrada em um veнculo.
Respuesta: Jatinho Particular -
LoostGamer - 23.11.2012
Pode fazer o cуdigo disso pra min ??
'--'
Re: Jatinho Particular -
ViniBorn - 23.11.2012
https://sampwiki.blast.hk/wiki/OnPlayerKeyStateChange
https://sampwiki.blast.hk/wiki/OnPlayerStateChange
https://sampwiki.blast.hk/wiki/OnPlayerEnterVehicle
https://sampwiki.blast.hk/wiki/SetPlayerPos
https://sampwiki.blast.hk/wiki/SetPlayerInterior
Respuesta: Jatinho Particular -
LoostGamer - 23.11.2012
Aff, a TAG do tуpico й [PEDIDO] e nгo [AJUDA] ...
Re: Respuesta: Jatinho Particular -
Nice-.- - 23.11.2012
Quote:
Originally Posted by LoostGamer
Aff, a TAG do tуpico й [PEDIDO] e nгo [AJUDA] ...
|
PREGUIЗA Й FODA
PREGUIЗA Й FODA
PREGUIЗA Й FODA
PREGUIЗA Й FODA
PREGUIЗA Й FODA
Respuesta: Jatinho Particular -
LoostGamer - 23.11.2012
OU, MANO, UMA COISA Й PREGUIЗA, OUTRA COISA Й NГO SABER FAZER ¬¬
Re: Respuesta: Jatinho Particular -
Don_Speed - 23.11.2012
Quote:
Originally Posted by LoostGamer
OU, MANO, UMA COISA Й PREGUIЗA, OUTRA COISA Й NГO SABER FAZER ¬¬
|
Chega um dia que teras que sair para o mundo . kkkk
Aprenda a fazer ! e facil.
Re: Jatinho Particular -
paulor - 23.11.2012
Ta ae:
pawn Code:
new pVarShamal[MAX_PLAYERS];
public OnPlayerStateChange(playerid, newstate, oldstate) {
new vehicleid = GetPlayerVehicleID(playerid);
if(newstate == PLAYER_STATE_PASSENGER && GetVehicleModel(vehicleid) == 519) {
pVarShamal[playerid] = vehicleid;
SetPlayerPos(playerid, X, Y, Z); //Coloque suas Coords do Int do Shamal.
}
return 1;
}
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) {
if((newkeys & 16) && pVarShamal[playerid]) {
new Float: pX, Float: pY, Float: pZ;
GetVehiclePos(pVarShamal[playerid], pX, pY, pZ);
SetPlayerPos(playerid, pX, pY, (pZ + 2.0));
pVarShamal[playerid] = 0;
}
return 1;
}
Respuesta: Jatinho Particular -
LoostGamer - 23.11.2012
#TOPIC: Se O player apertar G novamente ele sai do aviгo ??
@OFF: Poatz, Finalmente alguйm que saber ajudar os outros ...
Re: Respuesta: Jatinho Particular -
paulor - 23.11.2012
Quote:
Originally Posted by LoostGamer
#TOPIC: Se O player apertar G novamente ele sai do aviгo ??
@OFF: Poatz, Finalmente alguйm que saber ajudar os outros ...
|
Se ele apertar 'F' sim.
Re: Respuesta: Jatinho Particular -
Nice-.- - 23.11.2012
Quote:
Originally Posted by LoostGamer
OU, MANO, UMA COISA Й PREGUIЗA, OUTRA COISA Й NГO SABER FAZER ¬¬
|
entгo aprenda uй ? a forum samp й um lugar para ajudar os outros nao pra ficar dando code pronto
Re: Respuesta: Jatinho Particular -
Zona_Sky - 23.11.2012
Quote:
Originally Posted by Nice-.-
entгo aprenda uй ? a forum samp й um lugar para ajudar os outros nao pra ficar dando code pronto
|
pra que server o TAG [Pedido] aceite isso amigo.