Need Help with dcmd_setteam
#18

Quote:
Originally Posted by Sandiel
Посмотреть сообщение
Sorry, I don't use DCMD, I use ZCMD, but should be the same concept...
Код:
COMMAND:setteam(playerid, params[])
{
     if(PlayerInfo[playerid][pAdmin] >= 3) // dunno your admin enums? or your admin levels too....so yeh
     {
         new targetID, teamid;
         if(!sscanf(params, "ui", targetid, teamid))
         {
               PlayerInfo[playerid][pTeam] = teamid; // dunno your team variables, so change it to yours...
               SendClientMessage(playerid, COLOR_WHITE, "That player's team was set.");
               SendClientMessage(playerid, COLOR_WHITE, "Your team was set by an administrator.");
         }
     }
     return 1;
}
when im using sscanf and zcmd my teleport wont works idk why ? hmm
Reply


Messages In This Thread
Need Help with dcmd_setteam - by Devilxz97 - 01.06.2012, 06:43
Re: Need Help with dcmd_setteam - by juraska - 01.06.2012, 07:37
Re: Need Help with dcmd_setteam - by mickos - 01.06.2012, 07:41
Re: Need Help with dcmd_setteam - by JaKe Elite - 01.06.2012, 07:44
Re: Need Help with dcmd_setteam - by pasha97 - 01.06.2012, 07:53
Re: Need Help with dcmd_setteam - by JaKe Elite - 01.06.2012, 07:55
Re: Need Help with dcmd_setteam - by Devilxz97 - 01.06.2012, 07:58
Re: Need Help with dcmd_setteam - by Devilxz97 - 01.06.2012, 08:01
Re: Need Help with dcmd_setteam - by iJumbo - 01.06.2012, 08:05
Re: Need Help with dcmd_setteam - by juraska - 01.06.2012, 08:13
Re: Need Help with dcmd_setteam - by Devilxz97 - 01.06.2012, 08:21
Re: Need Help with dcmd_setteam - by Devilxz97 - 01.06.2012, 08:23
Re: Need Help with dcmd_setteam - by iJumbo - 01.06.2012, 08:32
Re: Need Help with dcmd_setteam - by juraska - 01.06.2012, 08:34
Re: Need Help with dcmd_setteam - by Devilxz97 - 01.06.2012, 10:12
Re: Need Help with dcmd_setteam - by Horrible - 01.06.2012, 10:46
Re: Need Help with dcmd_setteam - by Sandiel - 01.06.2012, 11:53
Re: Need Help with dcmd_setteam - by Devilxz97 - 01.06.2012, 12:40

Forum Jump:


Users browsing this thread: 8 Guest(s)