Hello There, Guest! Login or Register


Need help with "PAWNO"
#11
(05-06-2008, 05:09 PM)blahc link Wrote: I don't know how to thank you, just one question, don't I have to add like a "#define cmdtext" or "include dcmd" thing?
I'm gonna try to use what you gave me now, maybe it turns out I don't have to add a define/include text only for the teleport... :X

OH and whats the color id of the car with the text "C1" ?

No you dont need to define or include dcmd if you have the
Code:
#define dcmd(%1,%2,%3) if (!strcmp((%3)[1], #%1, true, (%2)) && ((((%3)[(%2) + 1] == '\0') && (dcmd_%1(playerid, ""))) || (((%3)[(%2) + 1] == ' ') && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1

In this case you have then you can do the dcmd teleport command
You may find the car color id's here
http://wiki.sa-mp.com/wiki/Script_Resources

You need to learn and read about pawno abit more, at least use wiki or test some of the stuff that is being told to you...
Otherwise your gamemode is gonna be alot of C&P
Reply
#12
ok, yeah I know about that car color list, but that is a special car color.. :/
Thank I'm going to try and to read a bit more, thank you.
Reply