[FilterScript] [FS] Phone System v0.1
#4

whats the command to send a sms or call?

"#
public OnPlayerPrivmsg(playerid, recieverid, text[])
#
{
#
if (Phone[playerid] == 0) return SendClientMessage(playerid, COL_RED, "You donґt have a mobile phone.");
#
else if (BatteryLoad[playerid] == 0.0) return SendClientMessage(playerid, COL_RED, "Your phone battery has run out of power.");
#
else if (Phone[recieverid] == 0) return SendClientMessage(playerid, COL_RED, "Sorry, that player doesnґt have a mobile phone.");
#
else if (BatteryLoad[recieverid] == 0.0) return SendClientMessage(playerid, COL_RED, "Sorry, that playerґs phone battery has run out of power.");
#
new string[300];
#
format(string, sizeof(string), "[PM to ID %d] %s", recieverid, text);
#
SendClientMessage(playerid, COL_ORANGE, string);
#
format(string, sizeof(string), "[PM from ID %d] %s", playerid, text);
#
SendClientMessage(recieverid, COL_ORANGE, string);
#
return 0;
#
}"
Reply


Messages In This Thread
[FS] Phone System v0.1 - by NtCat - 18.08.2009, 07:48
Re: [FS] Phone System v0.1 - by [RO]Briggy - 18.08.2009, 08:12
Re: [FS] Phone System v0.1 - by Imran.Abbas - 18.08.2009, 08:17
Re: [FS] Phone System v0.1 - by DauerDicht - 18.08.2009, 09:08
Re: [FS] Phone System v0.1 - by [RO]Briggy - 18.08.2009, 09:54
Re: [FS] Phone System v0.1 - by nuriel8833 - 18.08.2009, 10:03
Re: [FS] Phone System v0.1 - by DauerDicht - 18.08.2009, 11:59
Re: [FS] Phone System v0.1 - by NtCat - 18.08.2009, 12:02

Forum Jump:


Users browsing this thread: 1 Guest(s)