04.05.2011, 10:38
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.
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; } |