- 0
Problema /loadmission
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
KAPSu
Si am setat la /loadmission sa se activeze singure misiunile si nu stiu dece nu merge:
Comanda:
[pawn]if(strcmp(cmd, "/loadmission", true)==0)
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 1337)
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD1, "{00A1FF}USAGE{FFFFFF}: /loadmission [missionname]");
return 1;
}
LoadMission(playerid,tmp);
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, "Nu esti autorizat sa folosesti aceasta comanda!");
}
}
return 1;
}[/pawn]
Cel din urma va fi cel dintâi.
2 answers to this question
Recommended Posts