05.12.2010, 22:19
(
Последний раз редактировалось BigAl; 05.12.2010 в 23:43.
)
Please help. I have these lines under:
Callback:
This is what i have:
When i click the one with area 60 it works fine and spawns me there. That is not my problem but my problem is: When i switch between class 1 and class 2 the text stays the same unless you wait for it to go. For example:
"Im on class 1. It says Area 69. i switch to Class 2 and it still says area 69. I switch back to Class 1 and it still says area 69. I wait 10-20 secs and area 69 dissappears. I then switch to Class 2 and it says Abandoned airport" How can i make it so when i switch between classes it swaps the GameTextForPlayer Instantly?
Callback:
Код:
public OnPlayerRequestClass(playerid, classid)
Код:
if(classid == 0) { GameTextForPlayer(playerid, "~r~ Area 69!", 3000, 1); } if(classid == 1) { GameTextForPlayer(playerid, "~r~ Abandoned airport!", 3000, 1); }
"Im on class 1. It says Area 69. i switch to Class 2 and it still says area 69. I switch back to Class 1 and it still says area 69. I wait 10-20 secs and area 69 dissappears. I then switch to Class 2 and it says Abandoned airport" How can i make it so when i switch between classes it swaps the GameTextForPlayer Instantly?