18.08.2010, 22:59
(
Последний раз редактировалось pryor94; 19.08.2010 в 01:42.
)
I need some help with a couple of things.
1. When i type /parkour1 i got to parkour1 when i type /parkour2 i still go to 1 and the teles are different.
2. Change CreateVehicle(541,X,Y,Z,158,158,158,15; color.
3. Flooting text.
4. Re-spawn back in /ak47 after killed and take cash from killed and give to killer.
5. Over 1/2 of my Object is not loading I'm using '' Fall Out Object Streamer ''.
6.Text like this on bottom of screen that changes every 45 sec to 1 min.
I would really appreciate your help! I need to fix #5 first.
Thank you...
Mr_Pryor
1. When i type /parkour1 i got to parkour1 when i type /parkour2 i still go to 1 and the teles are different.
2. Change CreateVehicle(541,X,Y,Z,158,158,158,15; color.
3. Flooting text.
4. Re-spawn back in /ak47 after killed and take cash from killed and give to killer.
5. Over 1/2 of my Object is not loading I'm using '' Fall Out Object Streamer ''.
6.Text like this on bottom of screen that changes every 45 sec to 1 min.
I would really appreciate your help! I need to fix #5 first.
Thank you...
Mr_Pryor
pawn Код:
if (strcmp("/Nrgparkour1", cmdtext, true, 4) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,red,"Error: You're in DM area, type /leavedm to leave Dm Area ");
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
ResetPlayerWeapons(playerid);
SetVehiclePos(GetPlayerVehicleID(playerid),-2592.12,1394.35,7.18);
}else
{
SetPlayerPos(playerid, -2592.12,1394.35,7.18);
SendClientMessage(playerid, 0xFF0000FF, "Nrg Parkour 1");
}
return 1;
if (strcmp("/Nrgparkour2", cmdtext, true, 4) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,red,"Error: You're in DM area, type /leavedm to leave Dm Area ");
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
ResetPlayerWeapons(playerid);
SetVehiclePos(GetPlayerVehicleID(playerid),-2592.12,1394.35,7.18);
}else
{
SetPlayerPos(playerid, -2592.12,1394.35,7.18);
SendClientMessage(playerid, 0xFF0000FF, "Nrg Parkour 2");
}
return 1;
pawn Код:
#include <a_samp>
#pragma tabsize 0
new carsultan;
new carbullet;
public OnGameModeInit()
{
carbullet = CreatePickup(1239,2,-2611.6978,1398.6075,7.1016);
carsultan = CreatePickup(1239,2,-2601.594970, 1392.046142, 7.145373,0);
return 1;
}
public OnGameModeExit()
{
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == carbullet)
{
new Float:X, Float:Y, Float:Z;
new created_vehicle_id;
GetPlayerPos(playerid,X,Y,Z);
created_vehicle_id = CreateVehicle(541,X,Y,Z,158,158,158,158);
PutPlayerInVehicle(playerid,created_vehicle_id,0);
AddVehicleComponent(GetPlayerVehicleID(playerid),1087);
AddVehicleComponent(GetPlayerVehicleID(playerid),1139);
AddVehicleComponent(GetPlayerVehicleID(playerid),1026);
AddVehicleComponent(GetPlayerVehicleID(playerid),1027);
AddVehicleComponent(GetPlayerVehicleID(playerid),1029);
AddVehicleComponent(GetPlayerVehicleID(playerid),1032);
AddVehicleComponent(GetPlayerVehicleID(playerid),1149);
AddVehicleComponent(GetPlayerVehicleID(playerid),1141);
AddVehicleComponent(GetPlayerVehicleID(playerid),1169);
AddVehicleComponent(GetPlayerVehicleID(playerid),1010);
AddVehicleComponent(GetPlayerVehicleID(playerid),1079);
}
if(pickupid == carsultan)
{
new Float:X, Float:Y, Float:Z;
new created_vehicle_id;
GetPlayerPos(playerid,X,Y,Z);
created_vehicle_id = CreateVehicle(560,X,Y,Z,158,158,158,158);
PutPlayerInVehicle(playerid,created_vehicle_id,0);
AddVehicleComponent(GetPlayerVehicleID(playerid),1087);
AddVehicleComponent(GetPlayerVehicleID(playerid),1139);
AddVehicleComponent(GetPlayerVehicleID(playerid),1026);
AddVehicleComponent(GetPlayerVehicleID(playerid),1027);
AddVehicleComponent(GetPlayerVehicleID(playerid),1029);
AddVehicleComponent(GetPlayerVehicleID(playerid),1032);
AddVehicleComponent(GetPlayerVehicleID(playerid),1149);
AddVehicleComponent(GetPlayerVehicleID(playerid),1141);
AddVehicleComponent(GetPlayerVehicleID(playerid),1169);
AddVehicleComponent(GetPlayerVehicleID(playerid),1010);
AddVehicleComponent(GetPlayerVehicleID(playerid),1079);
}
return 0;
}