Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- forward THUNDER(); //OnTop!
- //OnPlayerCommandText:
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- dcmd(thor, 4, cmdtext);
- return 0;
- }
- dcmd_thor(playerid, params[])
- {
- if(!strcmp(ReturnName(playerid), "Thor", false))
- {
- SetWeather(16); //Change This to whatever ID of the weather you want!
- SetWorldTime(0); //Midnight Time!
- SendClientMessageToAll(-1,"Thor has struck his hammer");
- SetTimer("THUNDER", 2000, false); //2Sex timer starts!
- }
- else SendClientMessage(playerid,-1,"Only Thor can strike his hammer!");
- return 1;
- }
- //Buttom of your script:
- public THUNDER()
- {
- SetWeather(16); //Change This to whatever ID of the weather you want!
- SetWorldTime(12); //DayTime!
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement