How would i be able to do this - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How would i be able to do this (
/showthread.php?tid=333448)
How would i be able to do this -
Scripter12345 - 11.04.2012
Hello
What i am trying to do is if the person has not already made a account, just after the person registers it would send them through a tutorial screen, but if they are already registered they dont have to take the tutorial.
Thank You
Please Help Me Please
Re: How would i be able to do this -
ViniBorn - 11.04.2012
Save in the player account
Ex:
Re: How would i be able to do this -
Scripter12345 - 11.04.2012
Quote:
Originally Posted by Viniborn
Save in the player account
Ex:
|
Sorry i am slightly new at coding how would i be able to make it know if the player has already had the tutorial if you need any part of my code just ask me
Thank You
Please Help Me Please
Re: How would i be able to do this -
ViniBorn - 11.04.2012
pawn Код:
//Before register
Tutorial = 0
//After register
Tutorial = 1
//On Login
if(Tutorial == 0)
// Show tutorial
else
// Spawn player
That's about it ...
Just save this informations in the player account, to use later ...
Re: How would i be able to do this -
Scripter12345 - 11.04.2012
Fixed