![]() |
warping players
Ok I'm making an NPC where when the player say warp "whatever", it would set the whatever into a server.string.
So I would say "warp darkriders_p2p" and it would set server.warp=darkriders_p2p.This is the script: NPC Code: k now I need the player I'm working this on to warp to the level, & the string to reset.I am thinking it would have to be a hidden NPC the player gets when they start rite? something like: NPC Code: why doesn't that work? It doesn't even warp me |
with npcserver:
NPC Code: say warp 'acc' 'level' 'x' 'y' (if the weapon isnt called Warper, replace Warper with whatever it is) without: NPC Code: that should work, but im at school now so it may be a bit buggy since im doing it off the top of my head. |
oh and by the way...
the server you have it on must be enabled to set server flags or it wont work :-) |
BTW there is a little button call EDIT.
And DON'T POST ENTIRE SCRIPTS! |
oo now I can actually figure out how to do this stuff, just need to figure out what some of these commands are first :D
|
Quote:
Stop Complaining |
Quote:
|
Quote:
nothing wrong with posting whole scripts its my choice to post them and help if i want and im not harming. i know when i was learning i would love to have people help and i needed it too, so im trying to return the favor that so many people including you, never did for me. so stop being so selfish okay? if you dont wanna see the script, dont look simple |
NPC Code: im dumb lol but like i said, i was at school hehe |
Quote:
|
I know what you are saying, They can learn from the script knowing that the entire thing works and can dissasemble it, but think about the old saying "If it ain't broke don't fix it" why recode what is infront of you, ya know? and only about 5% of the peple who acually look at the entire script that was given to them on a silver platter, will take the time to figure it out, becasue you have solved their problem, not directed them in the way to helping themselfs by furthering their knowledge.
|
| All times are GMT +2. The time now is 01:01 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.