error???
#3

Quote:
Originally Posted by Zimon95
Show more code please.
pawn Код:
if(strcmp(cmd, "/call", true) == 0)
    {
      if(IsPlayerConnected(playerid))
        {
            tmp = strtok(cmdtext, idx);
            if(!strlen(tmp))
            {
                SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /call[numero cellulare]");
                return 1;
            }
            if(PlayerInfo[playerid][pCell] == 0) || PlayerInfo[playerid][pSim] == 0)
            {
                SendClientMessage(playerid, COLOR_GRAD2, " You dont have a cellphone or a SIM Card!");
                return 1;
            }
            GetPlayerName(playerid, sendername, sizeof(sendername));
            format(string, sizeof(string), "* %s take out his cellphone.", sendername);
            SetPlayerSpecialAction(playerid, SPECIAL_ACTION_USECELLPHONE);
            ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
            new phonenumb = strval(tmp);

contiunue the script...
Reply


Messages In This Thread
error??? - by Brian_Furios - 23.03.2010, 17:10
Re: error??? - by Zimon95 - 23.03.2010, 17:13
Re: error??? - by Brian_Furios - 23.03.2010, 17:16
Re: error??? - by Zimon95 - 23.03.2010, 17:17
Re: error??? - by Jay420 - 23.03.2010, 17:18
Re: error??? - by Brian_Furios - 23.03.2010, 17:20

Forum Jump:


Users browsing this thread: 1 Guest(s)