How do i let the plugin know that %s is a players name?
How do i let the function in my plugin know that %s means the players name?
Like client_print(id, print_chat, "%s sucks") So the message would be showed like this: "XunTric sucks", and not "%s sucks". (Btw, i dont suck :lol: ) Thanks |
client_print(id, print_chat, "%s sucks", "XunTric")
or new playername[] = "XunTric" client_print(id, print_chat, "%s sucks", playername) |
But thats only me. I mean it has to know any player on the server.
Im working on a plugin with xp system and what i want is like: "%s ganied a level! Congratulations!" So you understand what i mean? Thanks anyway |
Code:
|
Thanks
|
| All times are GMT -4. The time now is 14:02. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.