Scripting help
#1

I opened up pawno.exe
and clicked new and replaced new.pwn with grandlarc1.pwn
I was just wondering what i have to do to spawn at LS and with a weapon like a minigun with 200 ammo?
And How do i create a taxi driver NPC?
when i click samp-npc.exe it don't wanna open.
and when i go ig and type /rcon login <pass> and do /npc (I got this from NPC Creator)
It don't wanna work it says Unknown command
I want to add vehicles first and i want to make sure i spawn at LS
And i like to script a /me and /do command first and /help command then /makeadmin using RCON ADMIN.

And i want the levels to go up to 6
6 - Server owner
5 - General Admin
4 - Senior Admin
3 - Trial Admin
2 - Moderator
1 - Trial Moderator
and when i type /admins i want the list (above) to show in red print
and I need to know how to make a command like a advanced /ban command
Example - /ban <PlayerToBan> <Days> <Hours> <Reason>
Ex - /ban Mark_Scalizo 10 1 Testing.

And i get this when i c+p a command in pawno.exe <New gamemode>
pawn Код:
C:\Users\marie\MODS\SAMP SERVER\gamemodes\grandlarc.pwn(260) : warning 203: symbol is never used: "me"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Warning.
That is the me command.

Do i place <a_npc> ontop of teh script with <a_samp> too?
Someone please reply
Reply
#2

Simply go to line 260 and delete "new me;" or whatever is in there.

And about the NPC... learn basic scripting first, then read a tut. about NPC-s.

EDIT: Then line search for "new me" then delete it you jackass. xD
Reply
#3

Quote:
Originally Posted by Seven_of_Nine
Посмотреть сообщение
Simply go to line 260 and delete "new me;" or whatever is in there.

And about the NPC... learn basic scripting first, then read a tut. about NPC-s.
There is no 260 in the script
Only 259
Reply
#4

if you get a warning that something is never used, then you can get a line where is it, becouse you have not used it

Click CTRL+F and type me and delete that line where is it...

its probably new me;
Reply
#5

Quote:
Originally Posted by kizla
Посмотреть сообщение
if you get a warning that something is never used, then you can get a line where is it, becouse you have not used it

Click CTRL+F and type me and delete that line where is it...

its probably new me;
Its not new me
I overwrited my new .pwn with grandlarc
Reply
#6

Anyone help me!
Reply
#7

...new.pwn is what happens when you click the new button


C:\Users\marie\MODS\SAMP SERVER\gamemodes\grandlarc.pwn(260) : warning 203: symbol is never used: "me"

That's because there's a variable you created that isn't being used at all. That means that the variable is in there...If you can't find it, #pragma unused me temporarily...until you finally find it if you're so worried about it
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)