
09-15-2001, 04:58 AM
|
|
Registered User
|
 |
Join Date: Mar 2001
Posts: 825
|
|
|
~AlphaFlame~
DO NOT USE FLAGS!
NO NO NO PERIOD!
If you have to use flags for that, then shoot yourself, and stop scripting.
if (playertouchsme){
if (!hasweapon(Wheat 1) && !hasweapon(Wheat 2) && !hasweapon(Wheat 3)){
toweapons Wheat 1;
break;
}
if (hasweapon(Wheat 1)){
toweapons Wheat 2;
break;
}
if (hasweapon(Wheat 2)){
toweapons Wheat 3;
break;
}
}
Would be more efficient than the flags. And that's not much better.
And besides, the toweapons / will add that NPC MULTIPLE times to your inventory ANYWAY. |
__________________
If the post says ~AlphaFlame~, that's who's posting. If not, it's Entravial (owner)
|
Last edited by entravial; 09-15-2001 at 05:01 AM..
|
|
|