i've read but..... i've created this and it's doesn't work.do not laugh
if(strcmp(cmd, "/regplate", true) == 0)
{
if(IsPlayerConnected(playerid))
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "/regplate [xx-xxx-xx");
return 1;
}
giveplayerid = ReturnUser(tmp);
if (PlayerInfo[playerid][pAdmin] >= 1)
{
SendClientMessage(playerid, COLOR_GRAD2, "Nu esti autorizat sa folosesti aceasta comanda");
return 1;