SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Archive

 
 
Thread Tools Display Modes
Old 28/06/2011, 04:08 AM   #1
weper
Little Clucker
 
Join Date: Jul 2009
Location: Hungary
Posts: 20
Reputation: 0
Unhappy Probléma o.o

Mi a hiba ebben?

new Buyableveh1;

public OnGameModeInit()
{
Buyableveh1 = CreateVehicle(481,47.0560,1157.3497,18.1752,178.13 13,3,3, 60);
}

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(GetPlayerVehicleID(playerid) == Buyableveh1)
{
ShowPlayerDialog(playerid,1001,DIALOG_STYLE_LIST," Jármű","Elindít\nMegvesz (7000$)\nElad\nJárműID\nJármű elhagyása","OK", "BEZÁR");
}
}
}

Nem mutatja a dialogot, ha beszállok a járműbe :S
weper is offline  
Old 29/06/2011, 01:38 PM   #2
KoczkaHUN
Gangsta
 
KoczkaHUN's Avatar
 
Join Date: Jan 2010
Posts: 541
Reputation: 98
Default Re: Probléma o.o

mer amikor beszáll a kocsiba, akkor hívódik meg az OnPlayerEnterVehicle, és akkor még nem tér vissza a GetPlayerVehicleID semmivel. azért van ott a vehicleid paraméter, hogy tudd, melyik járműbe szállt be.
__________________
uıɐƃɐ oɔsǝʇ uı pɹɐoqʎǝʞ ʎnq ʇou llıʍ ı
-
Quote:
Originally Posted by WackoX
If i steal a television at a store, am i still legal if i put a sign on it saying "COPYRIGHT © ELECTRONIC STORE"?
Quote:
[20:46:02] <balintx> What is the output of this PAWN code? printf("%d", random(100));
[20:46:11] <JaTochNietDan> WHO THE FUCK KNOWS
-
KoczkaHUN is offline  
Old 04/07/2011, 09:33 PM   #3
weper
Little Clucker
 
Join Date: Jul 2009
Location: Hungary
Posts: 20
Reputation: 0
Default Re: Probléma o.o

Wááá, kösz szépen if(vehicleid == BuyableVeh1) kellett oda
weper is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[PROBLEMA] Problema con skins de facciones mankito Espańol/Spanish 4 10/04/2011 08:19 PM
[problema]Problema grave Gabriel_Halls Portuguęs/Portuguese 6 06/09/2010 01:01 AM
[Problema]Problema al copilar ulizess Espańol/Spanish 10 20/06/2010 01:47 PM
[PROBLEMA] UN AMIGO MIO TIENE UN PROBLEMA AL ENTRAR AL SAMP ... venezuela sa-mp Espańol/Spanish 5 27/12/2009 09:01 PM


All times are GMT. The time now is 10:26 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.