How do i convert this into ZCMD?
#1

How can i convert this into ZCMD?

Код:
if (strcmp("/music", cmdtext, true, 10) == 0)// the mp3 command
{
PlayAudioStreamForPlayer(playerid, "http://k002.kiwi6.com/hotlink/o2max1z0jd/2pac_When_We_Ride_On_Our_Enemies.mp3");
PlayAudioStreamForPlayer(playerid, "http://k002.kiwi6.com/hotlink/i5f5xul5le/Jay_Z_amp_Kanye_West_Niggas_In_Paris.mp3");
PlayAudioStreamForPlayer(playerid, "http://k002.kiwi6.com/hotlink/78o837kr9d/Life_Goes_On_Tupac.mp3");
return 1;
	}
return 0;
}
Reply
#2

Ahhh nevermind i converted it i just had a minor error behind my other Cmd this is what i had as the error

CMD:healme(playerid, params[])
{
SetPlayerHealth(playerid, 100);
return 1;
}he -this wasnt supposed to be there i dont know how it got there but i erased it and everything compiles good no errors or warnings
Reply
#3

Код:
command(music, playerid, params[])
{
	PlayAudioStreamForPlayer(playerid, "http://k002.kiwi6.com/hotlink/o2max1z0jd/2pac_When_We_Ride_On_Our_Enemies.mp3");
	PlayAudioStreamForPlayer(playerid, "http://k002.kiwi6.com/hotlink/i5f5xul5le/Jay_Z_amp_Kanye_West_Niggas_In_Paris.mp3");
	PlayAudioStreamForPlayer(playerid, "http://k002.kiwi6.com/hotlink/78o837kr9d/Life_Goes_On_Tupac.mp3");
	return 1;
}
Reply
#4

Thank you
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)