A phone system
#1

Hey all,

Recently I've been working on a small script I'm planning to expand. Though I'm still an amature when it comes down onto scripting with Pawn. I'd like someone to explain me how to make a phone system, I already made a small beginning.

Quote:

if (strcmp("/phone", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, COLOR_WHITE, "USAGE: /phone call | sms | number | NOT FINISHED");
return 1;
}
if (strcmp("/phone call", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, COLOR_WHITE, "USAGE: /phone call <number> | NOT FINISHED");
return 1;
}
if (strcmp("/phone sms", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, COLOR_WHITE, "USAGE: /phone sms <number> <text> | NOT FINISHED");
return 1;
}
if (strcmp("/phone number", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, COLOR_WHITE, "Your number is 4431.");
return 1;
}

Reply


Messages In This Thread
A phone system - by Fallenmaster - 04.05.2011, 10:38
Re: A phone system - by alpha500delta - 04.05.2011, 11:15
Re: A phone system - by Fallenmaster - 04.05.2011, 11:41
Re: A phone system - by Cameltoe - 04.05.2011, 11:51
Re: A phone system - by Fallenmaster - 04.05.2011, 12:01
Re: A phone system - by Cameltoe - 04.05.2011, 12:04
Re: A phone system - by alpha500delta - 04.05.2011, 13:38
Re: A phone system - by Cameltoe - 04.05.2011, 21:03

Forum Jump:


Users browsing this thread: 1 Guest(s)