General > Help & Resources

How to code SA-MP Pawn [Tutorial]

<< < (2/5) > >>

[RToS]Đ3luX_Mik3x[sR]:
Weee  nice tutorial   :D :D

[MAF]Sighmoan:
I'm sure you all know about it already, but i am doing some simple reading up on it here too:

http://wiki.sa-mp.com/wiki/PAWN_tutorial_1

Right, i have started to have a read about and i have simple question. Is pretty much all stored data (racer login's, race records, buildmode race co-od's etc) manipulated with these:

io_write
io_read
io_append
io_readwrite


--- Quote from: [UK]Rac3r on February 12, 2010, 09:03:06 pm ---NOTE: Net Framework 1.1 is needed, as it uses it to compile the script.

--- End quote ---
Also, my functions aren't showing on the right hand side in pawno? Help! I have extracted the server stuff into a folder called SAMP_SERVER in the root of the GTA SAN ANDREAS folder in program files.

Will version 3 work ok do you know?

[MAF]Rac3r:
You need to run pawno.exe as administrator.

The net framework should work the same, go for it.

[MAF]Sighmoan:
I must be doing something wrong as when i do this:


--- Code: ---public OnGameModeInit()
{
    // People can spawn with either the CJ skin or The Truth skin.
SetGameModeText("Blank Script");
AddPlayerClass(0, 1958.33, 1343.12, 15.36, 269.15, 26, 36, 28, 150, 0, 0);
    AddPlayerClass(1, 1958.33, 1343.12, 15.36, 269.15, 26, 36, 28, 150, 0, 0);
    return 1;
}

--- End code ---

It is letting me select from the CJ or TT, but it isn't showing me their skins in the skin selector?

[MAF]mooman:
you have to make the camera point at them or something

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version