2 problems
#1

Hey all!

I got two problems, I need help!

First I ad up this cmd under all the cars lines in GM, but when i log i cant enter them, says i dont have the keys.

Why?
One of them like here:
Код:
AddPlayerClass(120,731.6451,-1276.1884,13.5666); //
Second.

I have this line sript for gun pickup, but i want to do it but in other place, so i did it liek this

At start

Код:
new Pickupwep2
new pickupwep
Than under
Код:
public OnPlayerPickUpPickup(playerid, pickupid)
I did this
Код:
if(pickupid == pickupwep)
{
  GivePlayerWeapon(playerid, 347, 790);
}// First one

if(pickupid == pickupwep2)
{
  GivePlayerWeapon(playerid, 347, 790);
}
This gives me error.
error 010: invalid function or declaration
warning 204: symbol is assigned a value that is never used: "pickupwep2"

What to do?

I also create at the line:
Код:
public OnGameModeInit()
Код:
pickupwep2 = CreatePickup(347, 2, 1270.1304,-795.5559,1084.0078);
pickupwep = CreatePickup(347, 2, -2671.0459,1429.3628,906.4609);// First one
The first one works fine, the 2 no, Help me please!

Thanks alot!
Reply


Messages In This Thread
2 problems - by Taz86 - 05.04.2009, 00:03
Re: 2 problems - by Torekk - 05.04.2009, 00:17
Re: 2 problems - by Taz86 - 05.04.2009, 11:40
Re: 2 problems - by Taz86 - 05.04.2009, 11:56
Re: 2 problems - by Taz86 - 05.04.2009, 12:23
Re: 2 problems - by [M2S]moe - 05.04.2009, 12:25
Re: 2 problems - by Taz86 - 05.04.2009, 12:25
Re: 2 problems - by [M2S]moe - 05.04.2009, 12:28
Re: 2 problems - by Taz86 - 05.04.2009, 13:03
Re: 2 problems - by [M2S]moe - 05.04.2009, 13:05

Forum Jump:


Users browsing this thread: 6 Guest(s)