Freezze player for 5 seconde - 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: Freezze player for 5 seconde (
/showthread.php?tid=491608)
Freezze player for 5 seconde -
ProduitToxic - 31.01.2014
Hello everyone I would freeze the player for 5 seconds by the time the map changes to begin?
Sorry for my english
Re: Freezze player for 5 seconde -
MahdiGames - 31.01.2014
Under The command if you want:
Код:
MapLoading(playerid);
In anywhere:
Код:
forward MapLoading(playerid);
public MapLoading(playerid)
{
TogglePlayerControllable(playerid,false);
SetTimerEx("MapLoaded", 5000, 0,"d",playerid);
return 1;
}
forward MapLoaded(playerid);
public MapLoaded(playerid)
{
TogglePlayerControllable(playerid, true);
return 1;
}
_________________________
Helped you? rep+ me
xXx Stunt Paradise Awesome
Server IP:
Click Here!
Hosted Tab Game-MP for 10 Euro / per month
Hosted Tab + Server host 50 slots + Control Panel for 15 Euro
Skype:
MahdiAsali
Ђ10 Euro for Hosted List
Re : Freezze player for 5 seconde -
ProduitToxic - 31.01.2014
his walk not in my gm
Re : Freezze player for 5 seconde -
ProduitToxic - 31.01.2014
Bump how to make for freeze a player for 5 seconde at OnPlaterSpawn Pleases
Re: Re : Freezze player for 5 seconde -
MahdiGames - 31.01.2014
Quote:
Originally Posted by ProduitToxic
his walk not in my gm
|
Where he is walk?? you can put this function in
FS also.
Код:
This forum requires that you wait 240 seconds between posts. Please try again in 181 seconds.
_________________
xXx Stunt Paradise Awesome
Server IP:
Click Here!
Hosted Tab Game-MP for 10 Euro / per month
Hosted Tab + Server host 50 slots + Control Panel for 15 Euro
Skype:
MahdiAsali
Ђ10 Euro for Hosted List
Re : Freezze player for 5 seconde -
ProduitToxic - 31.01.2014
Yes it is on foot.
Re : Freezze player for 5 seconde -
ProduitToxic - 31.01.2014
Pleases help me for freeze the player for 5 sec at spawn
Re: Freezze player for 5 seconde -
Stinged - 31.01.2014
pawn Код:
public OnPlayerSpawn(playerid)
{
TogglePlayerControllable(playerid, 0); // Freezing the player
SendClientMessage(playerid, -1, "Loading the maps.");
SetTimerEx("LoadingMap", 5000, false, "i", playerid); // Setting the timer to five 5 seconds (5000 milliseconds)
return 1;
}
forward LoadingMap(playerid); // Forwarding
public LoadingMap(playerid)
{
TogglePlayerControllable(playerid, 1); // Unfreezing the player
return 1;
}
Re : Freezze player for 5 seconde -
ProduitToxic - 31.01.2014
THANKS ! + rep