08.01.2012, 18:13
Hello there.
Well, I am totally new to scripting. I am 'trying' to develop my own basic role-play script. I have just started a few minutes ago but I am coming across some problems which I'll need help with.
Okay, I've complete a few basic stuff. Now, I am trying to work on the 'OnPlayerRequestClass'
Well, This is what I have -
I've compile it with no errors. Now when I go In-game, after selecting my skin of choice and click 'spawn' the map is all blank, I could only see my character and nothing else, it's all blue.
What did I do wrong?
Well, I am totally new to scripting. I am 'trying' to develop my own basic role-play script. I have just started a few minutes ago but I am coming across some problems which I'll need help with.
Okay, I've complete a few basic stuff. Now, I am trying to work on the 'OnPlayerRequestClass'
Well, This is what I have -
Quote:
public OnPlayerRequestClass(playerid, classid) { SetPlayerInterior(playerid,11); SetPlayerPos(playerid,508.7362,-87.4335,998.9609); SetPlayerFacingAngle(playerid,0.0); SetPlayerCameraPos(playerid,508.7362,-83.4335,998.9609); SetPlayerCameraLookAt(playerid,508.7362,-87.4335,998.9609); return 1; } |
What did I do wrong?