This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: yazeen on March 27, 2011, 01:19:45 PMYEAH PLZ
please Re-upload linnk its not working
Quote from: yazeen on March 27, 2011, 04:20:31 AM
You Are a Pro scripter Best Of Luck In studing english!
Quote from: yazeen on March 27, 2011, 01:12:29 PMi 'll try thanks
Those Who are Not Using Gups can use this Add this on Top:new Call[MAX_PLAYERS];
new Caller[MAX_PLAYERS];
and change the lines like thiselse if (strcmp(cmd, "call", true) == 0) {
new plr;
tmp = strtok(cmdtext,idx);
plr = FindPlayerIDFromString(tmp);
if(PlayerInfo[playerid][Logged] != 1) SendClientMessage(playerid,COLOR_GREEN,"Please login first");
else if(Call[playerid], != 100) SendClientMessage(playerid,COLOR_GREEN,"You are already in a call");
else if(!strlen(tmp)) SendClientMessage(playerid,COLOR_GREEN,"Use /c call <Nick/ID>");
else if(plr == INACTIVE_PLAYER_ID) SendClientMessage(playerid,COLOR_GREEN,"Unknown player");
else if(Call[plr], != 100) SendClientMessage(playerid,COLOR_GREEN,"You hear a busy tone");
else {
new szMsg[256];
format(szMsg,sizeof(szMsg),"Calling %s",gPlayers[plr]);
SendClientMessage(playerid,COLOR_GREEN,szMsg);
format(szMsg,sizeof(szMsg),"Incoming call from %s, use /c accept and /c decline",gPlayers[playerid]);
SendClientMessage(plr,COLOR_GREEN,szMsg);
Caller[playerid] = playerid;
}
return 1;
}
else if (strcmp(cmd, "accept", true) == 0) {
if(Caller[playerid] == 100) SendClientMessage(playerid,COLOR_GREEN,"No one has called you");
else {
SendClientMessage(playerid,COLOR_GREEN,"You have accepted a call, use /c c <text> to talk");
SendClientMessage(Caller[playerid],COLOR_GREEN,"Your call has been accepted, use /c c <text> to talk");
Call[playerid],= Caller[playerid],
[playerid][caller]][call] = playerid;
Caller[playerid], = 100;
}
}
else if (strcmp(cmd, "decline", true) == 0) {
if(Caller[playerid], == 100) SendClientMessage(playerid,COLOR_GREEN,"No one has called you");
else {
SendClientMessage(playerid,COLOR_GREEN,"You have denied your call");
SendClientMessage(Caller[playerid],COLOR_GREEN,"Your call has been denied");
Caller[playerid], = 100;
}
}
else if (strcmp(cmd, "c", true) == 0) {
new szMsg[256];
tmp = strtok(cmdtext, idx);
if (Call[playerid] == 100) SendClientMessage(playerid, COLOR_GREEN, "You are not in a call");
else if (!strlen(tmp)) SendClientMessage(playerid, COLOR_GREEN, "/c c <text>");
else {
format(szMsg, sizeof(szMsg), "[Phone][%s]: %s", gPlayers[playerid], cmdtext);
SendClientMessage(Call[playerid],COLOR_GREEN,szMsg);
SendClientMessage(playerid,COLOR_GREEN,szMsg);
}
return 1;
}
else if (strcmp(cmd, "hangup", true) == 0) {
if(Call[playerid]== 100) SendClientMessage(playerid,COLOR_GREEN,"You are not in a call");
else {
SendClientMessage(playerid,COLOR_GREEN,"You hangup the phone");
SendClientMessage(Call[playerid],COLOR_GREEN,"Phone call ended");
playerid[call]][call] = 100;
Call[playerid] = 100;
}
}
Hope it Helps!
Quote from: BIG[H] on March 27, 2011, 08:45:20 AMXD that's true!!!
Script How to Fail a Hacker O_oQuote
Public SetSpeed()
{
SetGameSpeed(100);
}
and put this on gamemodeinitQuote
Public OnGameModeInit
{
SetTimer("SetSpeed",200,1);
}