What's wrong ? Why dont show tutorial ?
#1

http://pastebin.com/m1ede3d6a

?

I know that " ShowPlayerTutorial(); " don't work but what is supposed to put there ?

Help me plz

Regards.
Reply
#2

u need an timer that repeats activating that function, cuz else that variable sticks at it starts.
Reply
#3

Could u help me with examples ?

I'll apreciate
Reply
#4

The whole script is broke. I'll try to fix it.


EDIT:
http://pastebin.com/f45ef58e0
I've included some comments.

Leopard
Reply
#5


make variable like:
pawn Код:
ineedtolearn; // at top
than at command do:
pawn Код:
ineedtolearn = SetTimer("ShowPlayerTutorial",1000,1);
+
TutTime[playerid]= 1;
and when the tutorial is done for the player do:
pawn Код:
KillTimer(ineedtolearn);

You are done.
Reply
#6

Quote:
Originally Posted by [K4L
Leopard ]
The whole script is broke. I'll try to fix it.


EDIT:
http://pastebin.com/f45ef58e0
I've included some comments.

Leopard
I've gor 1 error in line 89

btw, In OnPlayerCommandText the " ShowPlayerTutorial(playerid); " is the right thing ? It gives me 1 warning



Quote:
Originally Posted by Rks_
than at command do:
pawn Код:
ineedtolearn = SetTimer("ShowPlayerTutorial",1000,1);
+
TutTime[playerid]= 1;
When put this in OnPlayerCommandText() it gets error.
Reply
#7

what error you get?
And woow Leo, you could also use the timer once.
Reply
#8

Quote:
Originally Posted by Rks_
what error you get?
And woow Leo, you could also use the timer once.
Yes, i know. But i prefer that type.

Oh, and WhoCares?

Quote:
Originally Posted by WhoCares?
Quote:
Originally Posted by [K4L
Leopard ]
The whole script is broke. I'll try to fix it.


EDIT:
http://pastebin.com/f45ef58e0
I've included some comments.

Leopard
I've gor 1 error in line 89

btw, In OnPlayerCommandText the " ShowPlayerTutorial(playerid); " is the right thing ? It gives me 1 warning
Try changng the forward thing too...
Reply
#9

Quote:
Originally Posted by Rks_
what error you get?
This:

error 025: function heading differs from prototype

In line 89
Reply
#10

Plz, I beg u :'p...

Help me with this...

btw, Sorry double post.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)