10.02.2009, 19:07
hey i think its great for a novice scripter to learn form. its a gamemode of which they can build on with great ease.
me myself am a novice scripter. this would be somthign i would use to get my scripting skills greater.
theres a bug where i cant seem to spawn.
:/
EDIT: Fixed it.
thats the old code. somehow it was bugged but when i commented it, it seemed to work. but only bug was you coudlent see what class you were choosing.
okay now this is what i changed it to. and it now works perfectly. i sugest all people who download edit that part or even better "heyyyy" updates the pwn file and reuploads it. ^^
heres the new code.
im not sure what you did wrong but changeing that part to what i changed it to seems to work.
nice script btw. easy to update ^^
you will probally find it was because you were missing a return1; but i dunno anyway its fixed. maby you should update it.
me myself am a novice scripter. this would be somthign i would use to get my scripting skills greater.
theres a bug where i cant seem to spawn.
:/
EDIT: Fixed it.
Код:
//public OnPlayerRequestClass(playerid, classid) //{ // SetPlayerPos(playerid,1984.4445,157.9501,55.9384); // SetPlayerCameraPos(playerid,1984.4445,160.9501,55.9384); // SetPlayerCameraLookAt(playerid,1984.4445,157.9501,55.9384); // SetPlayerFacingAngle(playerid,0.0); //}
okay now this is what i changed it to. and it now works perfectly. i sugest all people who download edit that part or even better "heyyyy" updates the pwn file and reuploads it. ^^
heres the new code.
Код:
public OnPlayerRequestClass(playerid, classid) { SetPlayerInterior(playerid,14); SetPlayerPos(playerid,258.4893,-41.4008,1002.0234); SetPlayerFacingAngle(playerid, 270.0); SetPlayerCameraPos(playerid,256.0815,-43.0475,1004.0234); SetPlayerCameraLookAt(playerid,258.4893,-41.4008,1002.0234); return 1; }
nice script btw. easy to update ^^
you will probally find it was because you were missing a return1; but i dunno anyway its fixed. maby you should update it.