Kick on spawn?
#1

Hello there, so uhm I'm currently making an major edit of Alexzz LOST:RP Script (Re-edit by Gold)

And before doing anything I compile to 0.3d ofc and all that stuff, I fix the compile errors and it appears to be working.

I go ingame and finish the quiz and tutorial, I even register and choose my talent, but as SOON as I spawn at my spawnpoint I get kicked.. New players get kicked, old players, everyone.

It gives no error outputs in PAWNO or Console.. Any idea on this fellas?


EDIT: I even looked the script through and there is no Kick(playerid); ANYWHERE besides at /kick commands. (And non-rp name kicker)
Reply
#2

Using SpawnPlayer will kick you in 0.3d R2. Use SetSpawnInfo before spawning the player
Reply
#3

A'right, moving in game to test this out now
Reply
#4

Quick question: Do I have to use the exact parameters like "SetSpawnInfo( playerid, 0, 0, 1958.33, 1343.12, 15.36, 269.15, 26, 36, 28, 150, 0, 0 );"

-Or would I simply be able to use "SetSpawnInfo(Playerid);"
Reply
#5

The first one.
Reply
#6

Problem solved, I'm spawning the wrong place though (Might be this error's fault:
Quote:

: warning 202: number of arguments does not match definition

)

Old code:
Quote:

SetSpawnInfo( playerid, 0, 15, 210.1676,-225.8301,1.7786,177.2934, 0, 0, 0, 0, 0, 0 );

New code:
Quote:

SetSpawnInfo(playerid, 15, 210.1676,-225.8301,1.7786,177.2934, 0, 0, 0, 0, 0, 0 );

EDIT: Works now, I get a massive ammount of errors, yet it's just wrong tags or something, it still works, I'll finish the rest later, thanks!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)