18.04.2010, 19:54
Queria saber como eu crio o comando / veiculo sair para poder sair dos veiculos
if(strcmp(tmp,"sair",true)==0)
{
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
return 1;
}
Originally Posted by Caio Cartaxo
pawn Код:
|
if(strcmp(tmp,"/sair",true)==0)
{
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
return 1;
}
public OnPlayerCommandText
public OnPlayerCommandText(playerid, cmdtext[])
{
new tmp[256];
if(strcmp(tmp,"/sair",true)==0)
{
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
return 1;
}
Originally Posted by DraKoN
Filho Acabei de te Explicar ali Certinho Tenta por
New tmp Antes Funcionarб |
new tmp[256];
if(strcmp(tmp,"/sair",true)==0)
{
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
return 1;
}
Originally Posted by DraKoN
Correзгo
pawn Код:
|
Originally Posted by Caio Cartaxo
PUTZ, q GM й o teu?
|