Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnPlayerCommandText(playerid, cmdtext[]){
- {
- if (strcmp("/ipodan", cmdtext, true) == 0)
- {
- SendClientMessage(playerid, 0xFF0000FF, "Du hast den Ipod angeschalten.");
- PlayAudioStreamForPlayer(playerid, "http://www.iloveradio.de/");
- return 1;
- }
- if (strcmp("/ipodaus", cmdtext, true) == 0)
- {
- SendClientMessage(playerid, 0xFF0000FF, "Du hast den Ipod ausgeschalten.");
- StopAudioStreamForPlayer(playerid);
- return 1;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement