There should be roblem and there is Help
#4

You need to:

Код:
return 0
After your return 1; on your:

Код:
OnPlayerCommandText(playerid, cmdtext[])
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp("/ParkDM", cmdtext, true ,7) == 0)
    {
    SetPlayerPos(playerid,1171.6135,2785.9299,10.8203);
    ResetPlayerWeapons(playerid);
    GivePlayerWeapon(playerid,26,1100);
    GivePlayerWeapon(playerid,31,3500);
    GivePlayerWeapon(playerid,16,100);
    GivePlayerWeapon(playerid, 26, 10000);
    GivePlayerWeapon(playerid, 27, 10000);
    SetPlayerSkin(playerid,287);
    SendClientMessage(playerid, COLOR_YELLOW, "Teleported to ParkDM");
    return 1;
    }
    return 0;
}
BTW. I would remove ''I Can Help You in Scripting'' from your sig. Gives the wrong impression.
Reply


Messages In This Thread
There should be roblem and there is Help - by Roomeo - 08.03.2011, 10:39
Re: There should be roblem and there is Help - by Stigg - 08.03.2011, 10:47
Re: There should be roblem and there is Help - by Roomeo - 08.03.2011, 10:49
Re: There should be roblem and there is Help - by Stigg - 08.03.2011, 10:54
Re: There should be roblem and there is Help - by Roomeo - 08.03.2011, 11:09
Re: There should be roblem and there is Help - by Stigg - 08.03.2011, 11:13
Re: There should be roblem and there is Help - by Roomeo - 08.03.2011, 11:15
Re: There should be roblem and there is Help - by Davz*|*Criss - 08.03.2011, 11:26
Re: There should be roblem and there is Help - by Stigg - 08.03.2011, 11:28
Re: There should be roblem and there is Help - by Davz*|*Criss - 08.03.2011, 11:50

Forum Jump:


Users browsing this thread: 1 Guest(s)