Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- forward unfreze(playerid);
- public OnPlayerSpawn(playerid)
- {
- new Ranga = RangaAdmina[playerid];
- WczytajGracza(playerid);
- new Pozycja = random(sizeof(PosSpawnu));
- SetPlayerPos(playerid, PosSpawnu[Pozycja][0], PosSpawnu[Pozycja][1], PosSpawnu[Pozycja][2]+1);
- TogglePlayerControllable(playerid, 0);
- SetTimerEx("unfreze", 2000, false, "i", playerid);
- if(Ranga == 0)
- {
- return 1;
- }
- if(Ranga == 1)
- {
- return 1;
- }
- if(Ranga == 2)
- {
- return 1;
- }
- if(Ranga == 3)
- {
- return 1;
- }
- if(Ranga == 4)
- {
- return 1;
- }
- return 1;
- }
- public unfreze(playerid)
- {
- TogglePlayerControllable(playerid, 1);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement