News:

Server address: server.convoytrucking.net
Get SA-MP 0.3.7 here: Click Here to download SA-MP 0.3.7

Main Menu

hmmm help? [SOLVED]

Started by OP, February 02, 2013, 13:25

OP

i wanna add a map to my test sever using pawno but i dont know how

im using sa-mp constrution to make my helps BUT i dont know how to put it in the script

my codes for this topic
CreateDynamicObject(19355, -308.81, 1329.71, 55.16,   0.00, 0.00, 358.79);
CreateDynamicObject(19355, -307.21, 1331.25, 55.14,   0.00, 0.00, 88.33);
CreateDynamicObject(19355, -304.11, 1331.17, 55.14,   0.00, 0.00, 88.33);
CreateDynamicObject(19355, -300.93, 1331.05, 55.14,   0.00, 0.00, 87.42);
CreateDynamicObject(19355, -297.74, 1330.90, 55.14,   0.00, 0.00, 87.42);
CreateDynamicObject(19355, -294.60, 1330.77, 55.14,   0.00, 0.00, 87.42);

can someone explain how i do it :x

IM I NOOB
[/size]
OP= Overpowered

Dr_Doom

Quote from: O2DNashy on February 02, 2013, 13:25
i wanna add a map to my test sever using pawno but i dont know how

im using sa-mp constrution to make my helps BUT i dont know how to put it in the script

my codes for this topic
CreateDynamicObject(19355, -308.81, 1329.71, 55.16,   0.00, 0.00, 358.79);
CreateDynamicObject(19355, -307.21, 1331.25, 55.14,   0.00, 0.00, 88.33);
CreateDynamicObject(19355, -304.11, 1331.17, 55.14,   0.00, 0.00, 88.33);
CreateDynamicObject(19355, -300.93, 1331.05, 55.14,   0.00, 0.00, 87.42);
CreateDynamicObject(19355, -297.74, 1330.90, 55.14,   0.00, 0.00, 87.42);
CreateDynamicObject(19355, -294.60, 1330.77, 55.14,   0.00, 0.00, 87.42);

can someone explain how i do it :x

IM I NOOB

When I was experimenting with Servers / Scripts and things like that, The people on the SAMP Forum were very helpful . I don't know about that but check out their Forum: Samp Forum's


Matias

Instead of CreateDynamic... make it to be CreateObject, then paste the whole code you get under OnGameModeInit, save the script and then compile it.

OP

when i add it in and complie it i get this :: : warning 235: public function lacks forward declaration (symbol "OnGameModeInIt")


in the script it looks like this
public OnGameModeInIt()
{
    CreateObject(19355, -308.81, 1329.71, 55.16,   0.00, 0.00, 358.79);
    CreateObject(19355, -307.21, 1331.25, 55.14,   0.00, 0.00, 88.33);
    CreateObject(19355, -304.11, 1331.17, 55.14,   0.00, 0.00, 88.33);
    CreateObject(19355, -300.93, 1331.05, 55.14,   0.00, 0.00, 87.42);
    CreateObject(19355, -297.74, 1330.90, 55.14,   0.00, 0.00, 87.42);
    CreateObject(19355, -294.60, 1330.77, 55.14,   0.00, 0.00, 87.42);
    CreateObject(19355, -291.47, 1330.63, 55.14,   0.00, 0.00, 87.42);
    CreateObject(19355, -288.35, 1330.50, 55.14,   0.00, 0.00, 87.42);
    return 1;
}
OP= Overpowered

Tyler

OnGameModeInit

Add main(){} to the script to avoid errors in the console.


[23:19:46] (CB:16) Fish: thats going in my sig

OP

OP= Overpowered