I need a bit of help here. I am very knew to all of this PAWNO scripting. I need to know how to create a command lets say: /commands or /cmds. I want this command to be able to display all of my other commands. Like for instance: /cmds (Dialogue Box pops up) inside the dialogue box I want it to show the commands. Any assistance would greatly be appreciated and may even earn you a subscriber ;)
if(strcmp(cmdtext, "/nrg500", true) == 0) //nrg 500 is a moto bike if you dont know { new Float:X, Float:Y, Float:Z, vehcreate; DestroyVehicle(GetPlayerVehicleID(playerid)); GetPlayerPos(playerid, X, Y, Z); vehcreate = CreateVehicle(522, X, Y, Z, 0, -1, -1, 0); PutPlayerInVehicle(playerid, vehcreate, 0); SendClientMessage(playerid, green, "You have spawned 'NRG-500'"); return 1; }
when i typed SendPlayerClientMessage then when i click compatible it says error error 017: undefined symbol "SendPlayerClientMessage" please help thank you in advanced :)
2 - The " COLR_RED" or any color is not a part of a command ,pawno says 1 Error
ok,I said what I've to say, so please make another video about the cods of color , like 0xAA3333AA ,this is red but I want green and other colors can U get it for me???
@iD4vid I will just say I put that a long time and now i'm really scripter so i can do alot of thing not just /heal or /kill alot more , example : pickups , virtual worlds , dialogs , any thing , so bye bye by the way i can fix any error u will get , beginer !!
I doubt you do learn much from these tutorials. The only thing I can see you teach is copy pasteing. Especially the music you choose is very annoying as you should speak to your audience you teach.
Can you make a tutorial or PM on how to link an interior to a vehicle? Like for example, having people enter the Shamal's cabin interior by pressing G and exiting the cabin interior by pressing F. Thank you for your time.
plzzz help get this error : C:\Users\Gustaf\Gta San Andreas\SA-MP Server\filterscripts\B.A.S.E_TELE.amx(1) : error 013: no entry point (no public functions)
@PersonalComputerNerd I have created my server completely . the only thing is left that i need to know how to create admin commands. LEVEL 1 admin half commands lvel 2 lvl 3 lv4 lv5 . just tell me how to do it. thanks.
i followed some of your videos and i puted all commants in 1 script i hope its good and i got like 26 errors and with things like OnPlayerLeaveCheckpoint but i did nothing at it says invalid expression assumed zero what dose that mean?i got lots of errors like that pls help me
Can you make a video showing me how to make a register thingy cause when i go in my server, it doesn't show like /register [password or anything please help.
umm.. i want to make an /enter and /exit command like in rp where you go on an icon, type /enter and you go inside the building. that would be really cool if you could. thx
@PersonalComputerNerd Make please , people are requesting Register tutorial and houses tutorial, objects put, Checkpoints, and the most important: Skins that players can use.
let the mouse hit the mute let the mouse hit the muteeee....
peace.
Kingraptor26 1 week ago
I need a bit of help here. I am very knew to all of this PAWNO scripting. I need to know how to create a command lets say: /commands or /cmds. I want this command to be able to display all of my other commands. Like for instance: /cmds (Dialogue Box pops up) inside the dialogue box I want it to show the commands. Any assistance would greatly be appreciated and may even earn you a subscriber ;)
ThePADrifter 1 week ago
i can make a 22 command in one pwn file
SuperMohamedb 2 weeks ago
idk when I open Pawno,I get an error.
TheScientistFlying 2 months ago
What if I want /heal and /healme to do the same thing. Tutorial plz?
neonpotatoesrule 2 months ago
Cool but today we have others command processators like zcmd and ycmd, strcmp is old !
pegatemi 3 months ago
man ii have one kock you want to suck
alex100314 4 months ago in playlist Samp Pawno Tutorials
let the bodies hit the MUUUUTEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
BunchOfAddicts 6 months ago
plz tell me how to put text on screens as on GamerXand other servers website name and server name
RKTheRockStar 6 months ago
i could not create more 1 command!! I copy and paste correctly but it says "wrong number of arguments" and it doenst works!!!!!!!
HELP!!
jeanmon357 6 months ago
Thanks! how to create a command for spawn an object?
MrElbydj 6 months ago
hey where do I save the file as I did with Pawno?
MegaDjandrey 8 months ago
and how to make command /register ?
dem2468 8 months ago
Its says this .,. when i am compile it /help undefined symbol "SendPlayerClientMessage"
dem2468 8 months ago
hey how can i do the game with teams and colours?
TheDjNecip 1 year ago
it keeps giving me errors....
davbad1 1 year ago
how to add car commandes is it something like "GivePlayerCar/Veh/V" PLZ heeeeeeeeeeeeeeeeeeeeeeelllp
SmokeBigi 1 year ago
@SmokeBigi here:
if(strcmp(cmdtext, "/nrg500", true) == 0) //nrg 500 is a moto bike if you dont know { new Float:X, Float:Y, Float:Z, vehcreate; DestroyVehicle(GetPlayerVehicleID(playerid)); GetPlayerPos(playerid, X, Y, Z); vehcreate = CreateVehicle(522, X, Y, Z, 0, -1, -1, 0); PutPlayerInVehicle(playerid, vehcreate, 0); SendClientMessage(playerid, green, "You have spawned 'NRG-500'"); return 1; }
bero231 1 year ago
Man you best!I learned everything watching you!YOU RLY HELPED ME!
ILoweMichaelJackson 1 year ago
oh and how can i make the house icon? so i can have houses?
MRSILVERblade8 1 year ago
when i typed SendPlayerClientMessage then when i click compatible it says error error 017: undefined symbol "SendPlayerClientMessage" please help thank you in advanced :)
MRSILVERblade8 1 year ago
How do you make it so that when you type /kill the player looses -1 Score.
xapoc 1 year ago
Hi!, how can I create comands for tunning?
Stephkatts 1 year ago
C:\Users\Luke\Desktop\Samp\gamemodes\test.pwn(138) : warning 217: loose indentation
C:\Users\Luke\Desktop\Samp\gamemodes\test.pwn(140) : warning 217: loose indentation
C:\Users\Luke\Desktop\Samp\gamemodes\test.pwn(143) : warning 217: loose indentation
C:\Users\Luke\Desktop\Samp\gamemodes\test.pwn(145) : warning 209: function "OnPlayerCommandText" should return a value
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Warnings.
What does this mean???
LukehTV 1 year ago
Is Possible That one Class has 500 hp?
Im Tryin to do my first Dm script :/
vakeraypivotlover 1 year ago
Where can i see a list of all weapon id's or what is the id for deagle?
Niki654123 1 year ago
DO YOU HAVE MULTIPLE COMMANDS?
tomboeg15 1 year ago
Ehhh how do u do a /enter command
Playa84646 1 year ago
hey U have 2 errors in your script :
1 - No such thing like " SendPlayerCleintMessage"
2 - The " COLR_RED" or any color is not a part of a command ,pawno says 1 Error
ok,I said what I've to say, so please make another video about the cods of color , like 0xAA3333AA ,this is red but I want green and other colors can U get it for me???
MrMostafa555 1 year ago
@MrMostafa555
1. It's called "SendClientMessage"
2. You can define the color codes to make it easier for you to complete the scripts faster. e.g #define COLOR_RED 0xAA3333AA
-iD.
iD4vid 1 year ago
@iD4vid I will just say I put that a long time and now i'm really scripter so i can do alot of thing not just /heal or /kill alot more , example : pickups , virtual worlds , dialogs , any thing , so bye bye by the way i can fix any error u will get , beginer !!
MrMostafa555 1 year ago
Easy for me now. About 4 months ago i wasn't know anything about pawno..
Now i make 2 GM'S xD
matthewdriftking 1 year ago
but how i make a command that shows something?
zfkdaniel 1 year ago
I doubt you do learn much from these tutorials. The only thing I can see you teach is copy pasteing. Especially the music you choose is very annoying as you should speak to your audience you teach.
KevinExtremo 1 year ago
The song is (Drowing Pool - Bodies)
speedasus 1 year ago
How to make a gamemode script?
viktor62987 1 year ago
thx but how to make gang or maffia with gate,weapons and cars?
koll728 1 year ago
Ok can you tell me what is the problem here?
SendClientMessage (playerid, COLOR_GREEN,''You are dead'');// Send player a message...
I Defined Green color before doing....etc.....
EthanDeLa 1 year ago
thsi guy type fast
AK47317 1 year ago
@AK47317 No he isn't because he used the fast effect.
MaxDSL95 1 year ago
what i do with others line that i dont need it??
XkillerXstonecold 1 year ago
Can you make a tutorial or PM on how to link an interior to a vehicle? Like for example, having people enter the Shamal's cabin interior by pressing G and exiting the cabin interior by pressing F. Thank you for your time.
Aggregate02 2 years ago
Dude how the heck can you add a pickup from where a menu appears from a command and you can buy weapons?
maiamibych 2 years ago
For pickups you use:
AddStaticPickup(model, type, Float:X, Float:Y, Float:Z, Virtualworld);
So for a M4 you will have:
AddStaticPickup(356, 2, X coordinates, Y coordinates, Z coordinates, 0);
You can go to SA:MP wiki and search for AddStaticPickup() to get further information.
Aggregate02 2 years ago
register script tut please :D
point6000x 2 years ago
good job
TheDomantas 2 years ago
when i compile i get this errors
D:\servers\Server Clean\gamemodes\Script.pwn(198) : error 010: invalid function or declaration
D:\servers\Server Clean\gamemodes\Script.pwn(201) : error 010: invalid function or declaration
D:\servers\Server Clean\gamemodes\Script.pwn(203) : error 010: invalid function or declaration
i need help thx
ozzyfaniris 2 years ago
i cant compile it says :
C:\Users\Nico\Documents\Downloads\samp\pawno\lolipop.pwn(93) : error 001: expected token: ",", but found ";"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
Niikoz01 2 years ago
i made my first scripts thx to u thx man
TheSniper968 2 years ago
can u tell me how to make the giveplayercarhealth command if there is?
TheSniper968 2 years ago
plzzz help get this error : C:\Users\Gustaf\Gta San Andreas\SA-MP Server\filterscripts\B.A.S.E_TELE.amx(1) : error 013: no entry point (no public functions)
guuss42 2 years ago
How can I make commands to cost money?
And if they player doesnt have enough money it will give a message saying : You do not have enough money to use this command
ofir2008 2 years ago
if(GetPlayerMoney[playerid] != $money){
SendClientMessage(playerid,color,"you need $money ammount of cash");
return 1;
}
//blah blah blah
GivePlayerMoney(playerid,-$money);
($money is the ammoutn of cash u wanna deal with..)
PersonalComputerNerd 2 years ago
@PersonalComputerNerd
Thanks alot dude!!
ofir2008 2 years ago
@PersonalComputerNerd I have created my server completely . the only thing is left that i need to know how to create admin commands. LEVEL 1 admin half commands lvel 2 lvl 3 lv4 lv5 . just tell me how to do it. thanks.
01120entraz 1 month ago
invalid expression setplayerhealth assumed zero
unchained100629 2 years ago
or maybe /register, how to creat that and /login too
YAman1253 2 years ago
that was just an example...you can copy the login and register CODES from anothers gamemodes...you find that on sa-mp . c o m
smufamator95 2 years ago
Okay, thanks for your tutorials, but i have 1 question.
For different commands like ONLY for admins and stuff, how do we kno the codes of the thing u type under the command?
YAman1253 2 years ago
Ehm how do you make multiple cmds?
matthew0164114417 2 years ago
Drowing Pool-Bodies
Robotick1996 2 years ago
what is music name??
ikac6 2 years ago
How do you change that colour?
Typing colour?
ZazulAQWorlds 2 years ago
This has been flagged as spam show
How to download program to make???
96nino 2 years ago
i followed some of your videos and i puted all commants in 1 script i hope its good and i got like 26 errors and with things like OnPlayerLeaveCheckpoint but i did nothing at it says invalid expression assumed zero what dose that mean?i got lots of errors like that pls help me
romanul12 2 years ago
people cant join :S It says please wait when they try log into it... whats wrong
Lonad95 2 years ago
How do you get the server online?? I dont get it work plz :)
Lonad95 2 years ago
To get the server online just goto favorites section at the sa-mp itself and click add server...
then enter in the port :7777 before you do that load up your server(in that DOS program)and thats it,your done :D
(Remember to write the ip after you find your server if you want of course)
Danikov369K 2 years ago
Me too
r3d3vil93 2 years ago
Can you make a video showing me how to make a register thingy cause when i go in my server, it doesn't show like /register [password or anything please help.
kingfossproductions 2 years ago
This has been flagged as spam show
just get it from another script
XBLXxR1fleManxX 2 years ago
umm.. i want to make an /enter and /exit command like in rp where you go on an icon, type /enter and you go inside the building. that would be really cool if you could. thx
diddychop313 2 years ago
how do u add like /spawn command?, if u can make a vid or pm me =)
rovkladd1 2 years ago
why when i made thise /kill cmd i got this?-D:\server or something\pawno\kill cmd test.pwn(103) : error 001: expected token: ";", but found "return"
D:\server or something\pawno\kill cmd test.pwn(103) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
HAMAZA7123 2 years ago
music name? i love the metal music <3
HunterSaMp 2 years ago
Song is likin park what ive done Enjoy!!
abdullahamir 2 years ago
LoL FLAV IS A GOOD FRIEND OF MINE :D he and i played on the server ultra movie making server xD
MEHMEDmaffiaRULES 2 years ago
This has been flagged as spam show
How to write /kick or /ban command?
MoviesOnline4You 2 years ago
YES!!!
mortingan 2 years ago
make tutorial how to make register adminscript using dcmd sscanf please
sturkis47 2 years ago
thank you dude!
ShockRIfleShot 2 years ago
Lol, glad to help
PersonalComputerNerd 2 years ago
@PersonalComputerNerd Make please , people are requesting Register tutorial and houses tutorial, objects put, Checkpoints, and the most important: Skins that players can use.
MaxDSL95 1 year ago
it's not working i got 4 errors when i do multiple commands what's wrong PCN?
poppomatic 2 years ago
Song : Linkin Park - What I've Done xD It isn't :P
b0bface94 2 years ago
it was...till i had to audioswap
PersonalComputerNerd 2 years ago
Comment removed
ShadowinDarkness1289 2 years ago
no "bodies"
ShadowinDarkness1289 2 years ago
wow, i started yesterday the scripting, and now i have an own server with many good scripts on it!
dude, you helped me a lot with your pawno tutorials! thanks
KMAclan 2 years ago
can i have the ip to ur server? :D
weirdyetrebelious 2 years ago
hey nerd you do need to define the COLOR_RED as 0xAA3333AA
asssasinSGG190 2 years ago
how to set admins and how to set some cmds only 4 admins?
mortingan 2 years ago
cool man but first...what recording program you use?
mortingan 2 years ago
it never works these tutorials are helpful but i never understand them any time i start the game
1. it doesn't come up
2. what ever i write in pawno doesn't come
3. or the game crashes
ShadowinDarkness1289 2 years ago
what ive done lol
guliasas02 2 years ago
Yo, man thanks for all videos. They helped me a lot. :D
lithuania154 2 years ago
thx, all videos u were maded are very helpful!:)
Do you know how to put houses in sell, and how i can be a admin in my local server?:P
Sry my english is not very good!:S
eestimats 2 years ago
This has been flagged as spam show
how i make the more commands??
BFCever 2 years ago
how to make a car spawn script???? please tell
domiselomi 2 years ago
Yo ur link dont work and when i try to do 2 commands it gives me 4 errors if you could help that would be nice thax
asssasinSGG190 2 years ago
I made all what is in video, but if i start game it doesent work :s
You can help me?
HunterSaMp 2 years ago
Hello
Thanks for all the tutorials
i have 1 question
how can i make a login system plz answer thanks!
oeshlama 2 years ago
Thank for All of your SAMP tutorials!
mynameisgoodboy 2 years ago
how do you make a script that allows you to login as an admin??
thanks
(P.S i know it sounds nerdish but i want to be an admin on my server so i can do all sors of stuff, just like in vc-mp!)
DeJordzta 2 years ago
How to spawn cars and how to change skin command?
flaviusbs 2 years ago
To add cars use
AddStaticVehicle(
jellyjellyman 2 years ago
Please make tutorial for respawn in hospital after death.
griindlockproof 2 years ago
Thx
flaviusbs 2 years ago
good tut. pls make a tutorial for "dcmd" and "strcmp" too :D
Tool676 2 years ago
arg, ye, ill get onto those for next tutorial probaly, im doubt ill get done today cos im not in all day today, but tomoz i probs will ;)
PersonalComputerNerd 2 years ago