![]() |
#1 |
Little Clucker
![]() Join Date: Mar 2014
Posts: 3
Reputation: 0
|
![]()
Hey guys, i hope you can help me with the Support-System.
I cant write as Support with /sup, i don't know why. I want to make a command: /asup for Support. But i don't know how i do this. I hope you can help me. Here is the code: Code:
COMMAND:sup(playerid,params[]) { new text[256]; if(sscanf(params,"s[128]",text)) { SendClientMessage(playerid, COLOR_GREY,"* /sup [Message]"); } else { if(TicketAnwered[playerid] == 0) { SendClientMessage(playerid, COLOR_GREY,"You aren not in a active report at the moment!"); } else if(TicketAnswered[playerid] == 1) { new pID = YourSupport[playerid]; new answer[128], answer2[128], TheQuestion[MAX_PLAYER_NAME], TheSupport[MAX_PLAYER_NAME]; GetPlayerName(playerid, TheQuestion, sizeof (TheQuestion)); GetPlayerName(pID, TheSupport, sizeof (TheSupport)); format(answer, sizeof (answer),"--> %s", text); SendClientMessage(playerid, COLOR_YELLOW, answer); format(answer2, sizeof (answer2), "%s writes: %s", TheQuestion, text); SendClientMessage(pID, COLOR_YELLOW, answer2); } } return 1; } |
![]() |
![]() |
![]() |
#2 |
Banned
![]() Join Date: Dec 2008
Location: Portugal
Posts: 1,034
Reputation: 108
|
![]() pawn Code:
|
![]() |
![]() |
![]() |
#3 |
Little Clucker
![]() Join Date: Mar 2014
Posts: 3
Reputation: 0
|
![]()
Sorry for the german code at the begining. I don't see it so fast xD I wrote it now in english that u understand the text. I hope you can help me now.
@StreetGT No. I already do this. When i do that and i wrote the command SAMP don't send a message to the player. I think it was a problem with this ID's.... I don't know how to change that. |
![]() |
![]() |
![]() |
#4 |
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Mar 2015
Location: Lower Saxony (Niedersachsen)
Posts: 1,314
Reputation: 92
|
![]()
Hello!
![]() Try this: PHP Code:
|
![]() |
![]() |
![]() |
#5 |
Little Clucker
![]() Join Date: Mar 2014
Posts: 3
Reputation: 0
|
![]()
I do this. Now i don't can use /asup but my friend can use it. We are the 2 owner's but why he can use it and i not? I receive his messages but i cant do any command of this 2 when i am at the report. ._.
|
![]() |
![]() |
![]() |
#6 |
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Mar 2015
Location: Lower Saxony (Niedersachsen)
Posts: 1,314
Reputation: 92
|
![]() PHP Code:
|
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Include] Cyanide's Inventory System (Saving, and Loading Support | Great for Roleplay | Descriptions) | Cyanide | Includes | 11 | 24/08/2017 06:41 PM |
[Include] Cyanide's Gang Spray/Tag System (Plug n' Play | Saving, Loading, & Crouching Support) | Cyanide | Includes | 81 | 25/07/2013 08:25 PM |
[FilterScript] Register/Login System [SIMPLE] (y_ini + whirlpool + zcmd) - with Antijetpack Hack support! | JaKe Elite | Filterscripts | 21 | 20/07/2012 01:07 PM |
Need your support! | NuggaN_ | Everything and Nothing | 3 | 09/07/2011 12:20 PM |
[Include] [INC] Language System (nine languages support) - !No developer, no script! | Luka P. | Includes | 34 | 17/01/2010 03:05 PM |