[REQ]Walkie Talkie, pls help me to create it :D - 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: [REQ]Walkie Talkie, pls help me to create it :D (
/showthread.php?tid=258828)
[REQ]Walkie Talkie, pls help me to create it :D -
leingod - 01.06.2011
how i can make like this ?
/setfreq [1000 - 9999]
/wt [text]
i did it like this
Код:
new Float:pFrequency[MAX_PLAYERS];
if(!strcmp(cmdtext[1],"setfreq",true,7))
{
new tmp[64];
format(tmp,32,"%.01f",floatstr(cmdtext[9]));
pFrequency[playerid]=floatstr(tmp);
format(tmp,64,"Your ferquency is now %s",tmp);
return 1;
}
if(!strcmp(cmdtext[1],"wt",true,2))
{
if(pFrequency[playerid]==0)return SendClientMessage(playerid,0xFF0000FF,"Use /Setfreq <Frequency> first!");
new tmp[150];
GetPlayerName(playerid,tmp,24);
format(tmp,150,"*[%.01F]%s: %s",pFrequency[playerid],tmp,cmdtext[3]);
for(new ply;ply<MAX_PLAYERS;ply++)
{
if(pFrequency[playerid]==pFrequency[ply])SendClientMessage(ply,0xEE3333FF,tmp);
}
return 1;
}
return 0;
}
pls help me
Re: [REQ]Walkie Talkie, pls help me to create it :D -
xalith - 01.06.2011
whats the problem?
Re: [REQ]Walkie Talkie, pls help me to create it :D -
leingod - 01.06.2011
when i type /setfreq 1234
there is nothing happen
,,,
please remade what i make.. >.<
Re: [REQ]Walkie Talkie, pls help me to create it :D - Max_Coldheart - 01.06.2011
do you understand that you just created 3 requests? Do you think that we will create your gamemode for you?
Re: [REQ]Walkie Talkie, pls help me to create it :D -
leingod - 01.06.2011
LOL.. just help me.. i need it >.<
i want to learn how but i need the example
hard to try from new.
Re: [REQ]Walkie Talkie, pls help me to create it :D -
leingod - 01.06.2011
please anyone.. help me with this thing
Re: [REQ]Walkie Talkie, pls help me to create it :D -
Dylan_Madigan69 - 23.12.2012
Try googling samp radio script or walkie talkie system. I found a cupple but i lost the link. They did appear to be ligit, however i was searching for one that automaticly sets the channel, kinda like a team chat.