Please help me with this
#10

Johnson, I will try this right now, I thank you for spending your time helping me



Edit: This is my first checkpoint (CP1) I'm trying to add another thing to make a checkpoint that teleports me to an interior, but it's not working. Heres my CP1. Can you show me an example of how to add to this code and make it work IG?

I just need you to show me how to add something that teleports me to an interior in CP2. You can make up the cords/interior. I just need an example. Thanks


Код:
public OnPlayerEnterStreamedCheckpoint(playerid, streamid)
{
if(streamid == CP1)
{
if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
{
if(gTeam[playerid] == TEAM_COP || gTeam[playerid] == TEAM_ARMY || gTeam[playerid] == TEAM_CASSEC) {
SendClientMessage(playerid, 0xA9A9A9AA, "|_Las Santos Drug House_|");
SendClientMessage(playerid, 0xE9967AAA, "Go away... pig! ");
return 1;
}
SendClientMessage(playerid, 0xA9A9A9AA, "|_Las Venturas Drug House_|");
SendClientMessage(playerid, 0xE9967AAA, "Type /buydrugs [ID] to buy some drugs");
SendClientMessage(playerid, 0xE9967AAA, "1 - Buy 10 grams of drugs ($2000)");
SendClientMessage(playerid, 0xE9967AAA, "2 - Buy 100 grams of drugs ($20000)");
SendClientMessage(playerid, 0xE9967AAA, "3 - Buy 500 grams of drugs ($100000)");
SendClientMessage(playerid, 0xE9967AAA, "4 - Buy 1000 grams of drugs ($150000) - Dealers Only");
SendClientMessage(playerid, 0xE9967AAA, "5 - Buy DrugBag ($1000) - Cops cant find your drugs if they search you");
{
}
}
}
return 1;
}


Reply


Messages In This Thread
Please help me with this - by killdahobo99 - 08.01.2010, 21:32
Re: Problem with my checkpoint - by killdahobo99 - 09.01.2010, 01:02
Re: Problem with my checkpoint - by Lajko1 - 09.01.2010, 07:03
Re: Problem with my checkpoint - by killdahobo99 - 09.01.2010, 12:41
Re: Please help me with this - by killdahobo99 - 09.01.2010, 16:47
Re: Please help me with this - by killdahobo99 - 10.01.2010, 19:52
Re: Please help me with this - by lameguy - 10.01.2010, 19:59
Re: Please help me with this - by killdahobo99 - 11.01.2010, 01:45
Re: Please help me with this - by lameguy - 11.01.2010, 13:49
Re: Please help me with this - by killdahobo99 - 11.01.2010, 19:59

Forum Jump:


Users browsing this thread: 3 Guest(s)