05.04.2009, 00:03
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:
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
Than under
I did this
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:
The first one works fine, the 2 no, Help me please!
Thanks alot!
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); //
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
Код:
public OnPlayerPickUpPickup(playerid, pickupid)
Код:
if(pickupid == pickupwep) { GivePlayerWeapon(playerid, 347, 790); }// First one if(pickupid == pickupwep2) { GivePlayerWeapon(playerid, 347, 790); }
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
Thanks alot!