- 0
Acces comanda skin
-
Similar Content
-
- 9 replies
- 557 views
-
- 1 reply
- 309 views
-
Comanda /set
By TheSlim2,
- 2 replies
- 491 views
-
- 1 reply
- 263 views
-
- 2 replies
- 273 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
mura
Cum pun comanda asta:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp(cmdtext, "/jail", true, 5))
{
if (IsPlayerAdmin(playerid))
{
if(!strlen(cmdtext[6]))
{
SendClientMessage(playerid, COLOR_ORED, "Usage: /jail [playerid]");
return 1;
}
new ID = strval(cmdtext[6]);
new strv[170];
if(IsPlayerConnected(ID))
{
format(strv, 170, "~ You have been jailed");
SendClientMessage(ID,COLOR_ORANGE, strv);
SetPlayerPos(ID, 264.8763,81.9862,1001.0390);
SetPlayerInterior(ID, 6);
}
}
return SendClientMessage(playerid, COLOR_RED, "Tu nu esti admin!");
} sa fie pe skin..adica ai skinul respectiv..ai acces la comanda
Link to comment
Share on other sites
1 answer to this question
Recommended Posts